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, ...)

from_imod5_data(imod5_data)

Construct a MetaSWAP Ponding package from iMOD5 data in the CAP package, loaded with the imod.formats.prj.open_projectfile_data() function.

get_non_grid_data(grid_names)

This function copies the attributes of a dataset that are scalars, such as options.

get_regrid_methods()

is_regridding_supported()

isel()

regrid_like(target_grid, regrid_context[, ...])

sel()

write(directory, index, svat, mf6_dis, mf6_well)

Write MetaSWAP package to its corresponding fixed format file.

write_dataframe_fixed_width(file, dataframe)

Write dataframe to fixed format file.

Attributes

auxiliary_data_fields

dataset