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, ...)from_imod5_data
(imod5_data)Import sprinkling data from imod5 data.
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