imod.msw.Sprinkling#
- class imod.msw.Sprinkling(max_abstraction_groundwater: DataArray, max_abstraction_surfacewater: DataArray)[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.
Methods
__init__
(max_abstraction_groundwater, ...)clip_box
([time_min, time_max, x_min, x_max, ...])Clip a package by a bounding box (time, y, x).
from_imod5_data
(imod5_data)Import sprinkling data from imod5 data.
Returns the default regrid methods for this package.
regrid_like
(target_grid, regrid_cache[, ...])Creates a package of the same type as this package, based on another discretization.
write
(directory, index, svat, mf6_dis, mf6_well)Write MetaSWAP package to its corresponding fixed format file.
Attributes
auxiliary_data_fields
dataset