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
()from_file
(path, **kwargs)Loads an imod mf6 package from a file (currently only netcdf and zarr are supported).
get_auxiliary_variable_names
()isel
()period_data
()remove_nans_from_dataset
()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)