
Diagnose the three baseline budgets (water, heat, nutrient) at once
Source:R/diag_aeme.R
diag_aeme.RdRuns diag_water_balance, diag_heat_budget and,
when use_bgc = TRUE, diag_nutrient_budget against an
already built and run Aeme-class object, and reports a
one-line classification for each. Meant as the entry point for a baseline
(shipped-default) simulation, before committing to a staged calibration
design: which parameters go in which stage, and what bounds, depends on
which of these budgets is actually biased.
Arguments
- aeme
Aeme object; already built and run for
model.- model
character; single model code to diagnose (see
check_model).- use_bgc
logical; also run
diag_nutrient_budget. Set toFALSEwhenaemewas run without the BGC module active. Automatically derived from theuse_bgcflag in theaemeobject when omitted.
Value
an aeme_diag object: list with aeme, model,
water_balance, heat_budget and nutrient_budget (NULL when
use_bgc = FALSE).
Details
aeme must already have current output for model (i.e. built with
build_aeme and run with run_aeme) - this
function does not build or run anything itself.