imod.msw.TimeOutputControl#
- class imod.msw.TimeOutputControl(time)[source]#
Specify the accumulation periods which will be used to write output. For example, say the model computes on a daily timestep, but timesteps two days apart are specified, the summed fluxes of each two days are written by MetaSWAP.
- Parameters:
time (xr.DataArray) – Timesteps at which to write output.
Methods
__init__
(time)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[, ...])Returns a deepcopy of this instance, as regridding this package is irrelevant: TimeOutputcontrol does not depend on the grid.
write
(directory, index, svat, mf6_dis, mf6_well)Write MetaSWAP package to its corresponding fixed format file.
Attributes
auxiliary_data_fields
dataset