imod.mf6.TimeDiscretization#
- class imod.mf6.TimeDiscretization(*_, **__)[source]#
Timing for all models of the simulation is controlled by the Temporal Discretization (TDIS) Package. https://water.usgs.gov/water-resources/software/MODFLOW-6/mf6io_6.0.4.pdf#page=17
- Parameters:
timestep_duration (float) – is the length of a stress period. (PERLEN)
n_timesteps (int, optional) – is the number of time steps in a stress period (nstp). Default value: 1
timestep_multiplier (float, optional) – is the multiplier for the length of successive time steps. The length of a time step is calculated by multiplying the length of the previous time step by timestep_multiplier (TSMULT). Default value: 1.0
validate ({True, False}) – Flag to indicate whether the package should be validated upon initialization. This raises a ValidationError if package input is provided in the wrong manner. Defaults to True.
Methods
__init__
(timestep_duration[, n_timesteps, ...])add_periodic_auxiliary_variable
()clip_box
([time_min, time_max, layer_min, ...])Clip a package by a bounding box (time, layer, y, x).
copy
()from_file
(path, **kwargs)Loads an imod mf6 package from a file (currently only netcdf and zarr are supported).
get_auxiliary_variable_names
()get_regrid_methods
()is_regridding_supported
()returns true if package supports regridding.
isel
()mask
(domain)Mask values outside of domain.
period_data
()regrid_like
(target_grid[, regridder_types])Creates a package of the same type as this package, based on another discretization.
render
()sel
()skip_masking_dataarray
(array_name)to_netcdf
(*args, **kwargs)Write dataset contents to a netCDF file.
write
(directory, name)write_binary_griddata
(outpath, da, dtype)write_blockfile
(pkgname, globaltimes, ...)write_netcdf
(directory, pkgname[, ...])Write to netcdf.
write_text_griddata
(outpath, da, dtype)Attributes
dataset