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, ...)- 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)- Construct a MetaSWAP Infiltration package from iMOD5 data in the CAP package, loaded with the - imod.formats.prj.open_projectfile_data()function.- 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