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 layers:

  • soil_saturated_depth: saturated store [mm]

  • snow_leq_depth: snow storage [mm]

  • soil_temp: top soil temperature [°C]

  • soil_unsaturated_depth: amount of water in the unsaturated store, per layer [mm]

  • snow_water_depth: liquid water content in the snow pack [mm]

  • vegetation_water_depth: canopy storage [mm]

  • river_instantaneous_q: river discharge [m3/s]

  • river_instantaneous_h: river water level [m]

  • subsurface_q: subsurface flow [m3/d]

  • land_instantaneous_h: land water level [m]

  • land_instantaneous_q or land_instantaneous_qx**+ **land_instantaneous_qy: overland flow for kinwave [m3/s] or overland flow in x/y directions for local-inertial [m3/s]

If lakes, also adds:

  • lake_instantaneous_water_level: lake water level [m]

If reservoirs, also adds:

  • reservoir_instantaneous_volume: reservoir volume [m3]

If glaciers, also adds:

  • glacier_leq_depth: water within the glacier [mm]

If paddy, also adds:

  • demand_paddy_h: water on the paddy fields [mm]

Parameters:

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