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, ...])- clip_box([time_min, time_max, layer_min, ...])- Clip a package by a bounding box (time, layer, y, x). - copy()- Copy package into a new package of the same type. - from_file(path, **kwargs)- Loads an imod mf6 package from a file (currently only netcdf and zarr are supported). - Returns the default regrid methods for this package. - is_empty([ignore_time])- Returns True if the package is empty, that is if it contains only no-data values. - mask(mask)- Mask values outside of domain. - regrid_like(target_grid, regrid_cache[, ...])- Creates a package of the same type as this package, based on another discretization. - to_netcdf(*args[, mdal_compliant, crs])- Write dataset contents to a netCDF file. - write(pkgname, globaltimes, directory[, ...])- Write package to file - Attributes - auxiliary_data_fields- dataset