File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
book/2_modelling_advanced_ewatercycle Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,12 @@ def update(self) -> None:
149149 # Advance the model time by one step
150150 self .current_timestep += 1
151151
152+ ###############################################################################
153+
154+ "End of the update function!"
155+
156+ ###############################################################################
157+
152158 def set_pars (self , par ) -> None :
153159 self .I_max = par [0 ] # maximum interception
154160 self .Ce = par [1 ] # Ea = Su / (sumax * Ce) * Ep
@@ -499,4 +505,4 @@ def load_var(ncfile: str | Path, varname: str) -> xr.DataArray:
499505 if data [varname ].attrs ['units' ] == 'kg m-2 s-1' :
500506 data [varname ] = data [varname ] * 24 * 3600 #mm/day
501507 #data[varname].attrs['units'] = 'mm d-1' TODO, fix.
502- return data [varname ]
508+ return data [varname ]
You can’t perform that action at this time.
0 commit comments