imod.msw.Sprinkling#
- class imod.msw.Sprinkling(max_abstraction_groundwater: DataArray, max_abstraction_surfacewater: DataArray, well: WellDisStructured)[source]#
This contains the sprinkling capacities of links between SVAT units and groundwater/surface water locations.
This class is responsible for the file scap_svat.inp
- Parameters:
max_abstraction_groundwater (array of floats (xr.DataArray)) – Describes the maximum abstraction of groundwater to SVAT units in m3 per day. This array must not have a subunit coordinate.
max_abstraction_surfacewater (array of floats (xr.DataArray)) – Describes the maximum abstraction of surfacewater to SVAT units in m3 per day. This array must not have a subunit coordinate.
well (WellDisStructured) – Describes the sprinkling of SVAT units coming groundwater.
- __init__(max_abstraction_groundwater: DataArray, max_abstraction_surfacewater: DataArray, well: WellDisStructured)[source]#
Methods
__init__
(max_abstraction_groundwater, ...)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.