imod.wq.RechargeLayers#

class imod.wq.RechargeLayers(rate, recharge_layer, concentration, save_budget=False)[source]#

The Recharge package is used to simulate a specified flux distributed over the top of the model and specified in units of length/time (usually m/d). Within MODFLOW, these rates are multiplied by the horizontal area of the cells to which they are applied to calculate the volumetric flux rates. In this class the Recharge gets applied to a specific, specified, layer (NRCHOP=2).

Parameters
  • rate (float or xr.DataArray of floats) – is the amount of recharge.

  • recharge_layer (int or xr.DataArray of integers) – layer number variable that defines the layer in each vertical column where recharge is applied

  • concentration (float or xr.DataArray of floats) – is the concentration of the recharge

  • save_budget (bool, optional) – flag indicating if the budget needs to be saved. Default is False.

__init__(rate, recharge_layer, concentration, save_budget=False)[source]#

Methods

__init__(rate, recharge_layer, concentration)

add_timemap(*args, **kwargs)

from_file(path, **kwargs)

Loads an imod-wq package from a file (currently only netcdf and zarr are supported).

isel()

repeat_stress([rate, concentration, use_cftime])

save(directory)

sel()

write_netcdf(directory, pkgname[, ...])

Write to netcdf.