Skip to content

Commit f550b84

Browse files
committed
update era forcing
1 parent 2b317cd commit f550b84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyclmuapp/era_forcing.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ def era5s_to_forcing(
201201
single['SWdown'].attrs['long_name'] = 'Surface solar radiation downwards'
202202

203203
# es == ea in this case, as we calculate the es using d2m
204-
single['eair'] = 1.24 * (single['es']/100 / single['t2m']) ** (1/7) # ref: W Brutsaert - Water resources research, 1975
204+
#single['eair'] = 1.24 * (single['es']/100 / single['t2m']) ** (1/7) # ref: W Brutsaert - Water resources research, 1975
205+
single['eair'] = 0.70 + 5.95e-5 * (0.01 * single['es']) * np.exp(1500.0 / single['t2m']) # eIdso, S.B. 1981. A set of equations for ...
206+
# from https://escomp.github.io/CTSM/tech_note/References/CLM50_Tech_Note_References.html
205207
single['LWdown'] = single['eair'] * (single['t2m'] ** 4) * 5.67e-8 # ref : W Brutsaert - Water resources research, 1975
208+
206209
single['LWdown'] = single['LWdown'].where(single['LWdown'] > 0, 1e-16)
207210
single['LWdown'].attrs['units'] = 'W/m^2'
208211
single['LWdown'].attrs['long_name'] = 'Surface thermal radiation downwards'

0 commit comments

Comments
 (0)