Skip to contents

Setup AED aed_sed_const2d sediment model parameters

Usage

set_aed_sed_const2d(
  aeme,
  path,
  lake_dir = NULL,
  baseline = c(fsed_oxy = -25, fsed_amm = 2, fsed_nit = 0.2, fsed_frp = 0.05)
)

Arguments

aeme

Aeme object.

path

character; directory where input files are located. Defaults to the path stored in aeme, or the current working directory if not set.

lake_dir

Path to the lake AEME directory. If NULL, it is derived from aeme/path.

baseline

Named numeric vector of baseline fluxes at ref_depth. Must include fsed_oxy, fsed_amm, fsed_nit, fsed_frp.

Value

Invisible NULL. Updates the aed.nml file in the glm_aed model directory.

Details

Any per-zone flux (fsed_oxy / fsed_amm / fsed_nit / fsed_frp) that is already present in parameters(aeme) as an aed_sed_const2d/... row is left untouched - it is applied later by input_model_parameters(). The zone-flux estimation (estimate_zone_fluxes()) still runs so its diagnostic tables are printed, but its values for those keys are not written.