hydromt_wflow.WflowModel.setup_cold_states#

WflowModel.setup_cold_states(timestamp: str = None) None[source]#

Prepare cold states for Wflow.

To be run last as this requires some soil parameters or constant_pars to be computed already.

To be run after setup_lakes, setup_reservoirs and setup_glaciers to also create cold states for them if they are present in the basin.

This function is mainly useful in case the wflow model is read into Delft-FEWS.

Adds model layer: * satwaterdepth: saturated store [mm] * snow: snow storage [mm] * tsoil: top soil temperature [°C] * ustorelayerdepth: amount of water in the unsaturated store, per layer [mm] * snowwater: liquid water content in the snow pack [mm] * canopystorage: canopy storage [mm] * q_river: river discharge [m3/s] * h_river: river water level [m] * h_av_river: river average water level [m] * ssf: subsurface flow [m3/d] * h_land: land water level [m] * h_av_land: land average water level[m] * q_land or qx_land**+**qy_land: overland flow for kinwave [m3/s] or

overland flow in x/y directions for local-inertial [m3/s]

If lakes, also adds: * waterlevel_lake: lake water level [m]

If reservoirs, also adds: * volume_reservoir: reservoir volume [m3]

If glaciers, also adds: * glacierstore: water within the glacier [mm]

Parameters:

timestamp (str, optional) – Timestamp of the cold states. By default uses the (starttime - timestepsecs) from the config.