File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments