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, ...)clip_box
([time_min, time_max, x_min, x_max, ...])Clip a package by a bounding box (time, y, x).
from_imod5_data
(*args, **kwargs)This package cannot be constructed from iMOD5 data.
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