imod.mf6.AdvectionUpstream#

class imod.mf6.AdvectionUpstream(*_, **__)[source]#

The upstream weighting (first order upwind) scheme sets the concentration at the cellface between two adjacent cells equal to the concentration in the cell where the flow comes from. It surpresses oscillations.

__init__()[source]#

Methods

__init__()

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(directory, pkgname, globaltimes, binary)

sel()

skip_masking_dataarray(array_name)

to_netcdf(*args, **kwargs)

Write dataset contents to a netCDF file.

write(pkgname, globaltimes, write_context)

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