imod.mf6.SourceSinkMixing#
- class imod.mf6.SourceSinkMixing(*_, **__)[source]#
- Parameters:
package_names (array_like of str)
concentration_boundary_type (array_like of str)
auxiliary_variable_name (array_like of str)
print_flows (bool)
save_flows (bool)
validate (bool)
- __init__(package_names, concentration_boundary_type, auxiliary_variable_name, print_flows: bool = False, save_flows: bool = False, validate: bool = True)[source]#
Methods
__init__
(package_names, ...[, print_flows, ...])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).
from_flow_model
(model, species[, ...])Derive a Source and Sink Mixing package from a Groundwater Flow model's boundary conditions (e.g. GeneralHeadBoundary).
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