imod.msw.AnnualCropFactors#

class imod.msw.AnnualCropFactors(soil_cover: DataArray, leaf_area_index: DataArray, interception_capacity: DataArray, vegetation_factor: DataArray, interception_factor: DataArray, bare_soil_factor: DataArray, ponding_factor: DataArray)[source]#

For each vegetation type specify a yearly trend in vegetation factors and interception characteristics. These are used if WOFOST is not used.

This class is responsible for the file fact_svat.inp.

Parameters:
  • soil_cover (array of floats (xr.DataArray)) – Soil cover in m2/m2. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • leaf_area_index (array of floats (xr.DataArray)) – Leaf area index in m2/m2. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • interception_capacity (array of floats (xr.DataArray)) – Interception capacity in m3/m2. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • vegetation_factor (array of floats (xr.DataArray)) – Vegetation factor. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • interception_factor (array of floats (xr.DataArray)) – Interception evaporation factor. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • bare_soil_factor (array of floats (xr.DataArray)) – Bare soil evaporation factor. Must have a “vegetation_index” and “day_of_year” a coordinates.

  • ponding_factor (array of floats (xr.DataArray)) – Ponding factor. Must have a “vegetation_index” and “day_of_year” a coordinates.

__init__(soil_cover: DataArray, leaf_area_index: DataArray, interception_capacity: DataArray, vegetation_factor: DataArray, interception_factor: DataArray, bare_soil_factor: DataArray, ponding_factor: DataArray)[source]#

Methods

__init__(soil_cover, leaf_area_index, ...)

from_imod5_data(*args, **kwargs)

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