imod.mf6.VerticesDiscretization#
- class imod.mf6.VerticesDiscretization(top, bottom, idomain, validate: bool = True)[source]#
Discretization by Vertices (DISV).
- Parameters:
top (array of floats (xu.UgridDataArray)) –
bottom (array of floats (xu.UgridDataArray)) –
idomain (array of integers (xu.UgridDataArray)) –
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__
(top, bottom, idomain[, validate])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
()isel
()mask
(domain)Mask values outside of domain.
period_data
()render
(directory, pkgname, binary)sel
()to_sparse
(arrdict, layer)Convert from dense arrays to list based input
write
(directory, pkgname, globaltimes, binary)write_binary_griddata
(outpath, da, dtype)write_blockfile
(directory, pkgname, ...)write_netcdf
(directory, pkgname[, ...])Write to netcdf.
write_text_griddata
(outpath, da, dtype)