imod.msw.InitialConditionsSavedState#
- class imod.msw.InitialConditionsSavedState(saved_state)[source]#
Use saved state of a previous MetaSWAP run as initial condition.
This class is responsible for the file init_svat.inp
- Parameters:
saved_state (Path or str) – Path to a previously saved state. This file will be copied to init_svat.inp.
Methods
__init__
(saved_state)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, *args)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