imod.msw.EvapotranspirationMapping#
- class imod.msw.EvapotranspirationMapping(evapotranspiration: DataArray)[source]#
This contains the data to connect evapotranspiration grid cells to MetaSWAP svats. The evapotranspiration grid does not have to be equal to the metaswap grid: connections between the evapotranspiration cells to svats will be established using a nearest neighbour lookup.
This class is responsible for the file svat2etrefgrid.inp.
- Parameters:
evapotransporation (array of floats (xr.DataArray)) – Describes the evapotransporation data. The extend of the grid must be larger than the MetaSvap grid. The data must also be coarser than the MetaSvap grid.
Methods
__init__
(evapotranspiration)from_imod5_data
(imod5_data)Construct a MetaSWAP EvapotranspirationMapping 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
()grid_mapping
(svat, meteo_grid)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
meteo