imod.msw.Ponding#

class imod.msw.Ponding(ponding_depth, runon_resistance, runoff_resistance)[source]#

Set ponding related parameters for MetaSWAP. This class is responsible for the svat2swnr_roff.inp file. Currently, we do not support ponds coupled to SIMGRO’s surface water module.

Parameters
  • ponding_depth (array of floats (xr.DataArray)) – Ponding depth of the SVAT units in meters. If set to 0. water can freely flow over the soil surface. Runoff is disable by setting the ponding depth to 9999 m. Large values, e.g. 1000 m, should be avoided becauses this causes excess memory use. This array must have a subunit coordinate to describe different land uses.

  • runoff_resistance (array of floats (xr.DataArray)) – Runoff resistance of SVAT units in days. This array must have a subunit coordinate to describe different land uses.

  • runon_resistance (array of floats (xr.DataArray)) – Runon resistance of SVAT units in days. This array must have a subunit coordinate to describe different land uses.

__init__(ponding_depth, runon_resistance, runoff_resistance) None[source]#

Methods

__init__(ponding_depth, runon_resistance, ...)

isel()

sel()

write(directory, index, svat)

Write MetaSWAP package to its corresponding fixed format file.

write_dataframe_fixed_width(file, dataframe)

Write dataframe to fixed format file.