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.

__init__(saved_state)[source]#

Methods

__init__(saved_state)

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.

get_regrid_methods()

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, *args)

Write MetaSWAP package to its corresponding fixed format file.

Attributes

auxiliary_data_fields

dataset