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, ...)

isel()

sel()

write(directory, index, svat)

Write MetaSWAP package to its corresponding fixed format file.

write_dataframe_fixed_width(file, dataframe)

Write dataframe to fixed format file.