imod.msw.Infiltration#

class imod.msw.Infiltration(infiltration_capacity: DataArray, downward_resistance: DataArray, upward_resistance: DataArray, bottom_resistance: DataArray, extra_storage_coefficient: DataArray)[source]#

This contains the infiltration data.

This class is responsible for the file infi_svat.inp

Parameters:
  • infiltration_capacity (array of floats (xr.DataArray)) – Describes the infiltration capacity of SVAT units. This array must have a subunit coordinate to describe different land uses.

  • downward_resistance (array of floats (xr.DataArray)) – Describes the downward resisitance of SVAT units. Set to -9999.0 to make MetaSWAP ignore this resistance. This array must have a subunit coordinate.

  • upward_resistance (array of floats (xr.DataArray)) – Describes the upward resistance of SVAT units. Set to -9999.0 to make MetaSWAP ignore this resistance. This array must have a subunit coordinate.

  • bottom_resistance (array of floats (xr.DataArray)) – Describes the infiltration capacity of SVAT units. Set to -9999.0 to make MetaSWAP ignore this resistance. This array must not have a subunit coordinate.

  • extra_storage_coefficient (array of floats (xr.DataArray)) – Extra storage coefficient of phreatic layer. This array must not have a subunit coordinate.

__init__(infiltration_capacity: DataArray, downward_resistance: DataArray, upward_resistance: DataArray, bottom_resistance: DataArray, extra_storage_coefficient: DataArray)[source]#

Methods

__init__(infiltration_capacity, ...)

from_imod5_data(imod5_data)

Construct a MetaSWAP Infiltration 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