imod.msw.ScalingFactors#

class imod.msw.ScalingFactors(scale_soil_moisture, scale_hydraulic_conductivity, scale_pressure_head, depth_perched_water_table)[source]#
This package allows you to do three things:
  1. Set scaling factors for some inputs in the soil physical database, namely the soil moisture content and the saturated hydraulic conductivity.

  2. Set a scaling factor for pressure head related parameters in the landuse class lookup table (LUSE_SVAT.INP).

  3. Set the depth of the perched watertable base.

This class is useful for sensitivity and uncertainty analyses, as well as model calibration. Scaling factors are multiplied with their corresponding parameters in the soil physical database.

Parameters:
  • scale_soil_moisture (array of floats (xr.DataArray)) – Scaling factor which adjusts the saturated soil moisture content, the residual soil moisture content, and the soil moisture content of macropores. This array must have a subunit coordinate to describe different landuses.

  • scale_hydraulic_conductivity (array of floats (xr.DataArray)) – Scaling factor which adjusts the (vertical) saturated hydraulic conductivity of the soil. This array must have a subunit coordinate to describe different landuses.

  • scale_pressure_head (array of floats (xr.DataArray)) – Scaling factor which adjusts the pressure head applied to the pressure parameters defined in LUSE_SVAT.INP. This array must have a subunit coordinate to describe different landuses.

  • depth_perched_water_table (array of floats (xr.DataArray)) – Sets the depth of the perched watertable base. If the groundwater depth exeeds this depth, the capillary rise is set to zero. This option has been included in the model on the request of a specific project (MIPWA), and is only sound for depths exceeding 2 meters. For more shallow presences of loam causing a perched watertable, it is advised to generate a new soil physical unit. This array must not have a subunit coordinate.

__init__(scale_soil_moisture, scale_hydraulic_conductivity, scale_pressure_head, depth_perched_water_table)[source]#

Methods

__init__(scale_soil_moisture, ...)

from_imod5_data(imod5_data)

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