Skip to content

Commit a6a2b0e

Browse files
committed
fix bugs
1 parent 0548739 commit a6a2b0e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: src/PML.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export PMLV2, T_adjust_Vm25, f_VPD_Zhang2019
66
using DocStringExtensions
77
using Parameters, DataFrames
88
import HydroTools: aerodynamic_conductance, cal_rho_a, ET0_eq,
9-
Cp, atm
9+
Cp, atm,
1010
GOF, sceua
1111

1212
# lambda: [MJ kg-1]

Diff for: src/model_PMLV2.jl

-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ function PMLV2(Prcp::T, Tavg::T, Rs::T, Rn::T, VPD::T, U2::T, LAI::T,
6969
# GPP, Ec, Ecr, Eca, Ei, Pi, Es_eq, Eeq, ET_water, Ga, Gc_w
7070
end
7171

72-
# lambda: [MJ kg-1]
73-
# W2mm(Ra; lambda) = Ra * 86400 / 1e6 / lambda
7472

7573
"""
7674
# Arguments

Diff for: test/test-result.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ r = PMLV2_sites(df; par)
1515
GOF(df_out.ETsim, r.ET)
1616

1717
GOF(df_out.ETsim, r.ET)
18-
GOF(df_out.ETsim, r.ET)
18+
GOF(df_out.Ei, r.Ei)
19+
GOF(df_out.Ec, r.Ec)
20+
GOF(df_out.Es, r.Es)
1921

2022
# 蒸发部分,仍然不能完全匹配上,仍需要核对
2123
df_out.ETsim - r.ET

0 commit comments

Comments
 (0)