Calculates a set of perfomance metrics for model outputs, compared against observational data. Currently only evaluations of GPP model outputs, compared agains FLUXNET 2015 data, are implemented.
eval_sofun(
mod,
settings,
obs_eval = NA,
overwrite = TRUE,
doplot = FALSE,
light = FALSE
)
Object returned by runread_pmodel_f. This is a nested
dataframe with sites along rows and a nested column "data"
containing
model outputs with columns "date"
(date object created by
lubridate::ymd()
) and "varnam"
.
where "varnam"
corresponds to names(settings$benchmark)
.
A list specifying evaluation settings (see vignette eval_sofun.pdf for more information and examples)
(Optional) A named list of data frames containing
observational data for each sites. The names of list elements corresponds
to site names. Defaults to NA
(Optional) A logical specifying whether temporary data
stored in ./tmpdir
should be overwritten. Defaults to TRUE
.
(Optional) A logical specifying whether plots should be saved.
Defaults to FALSE
.
(Optional) A logical specifying whether reduced data should
saved. Defaults to FALSE
.
A list containing data frames of modelled and observed values aggregated to several temporal scales (ddf for daily, xdf for X-daily, mdf for monthly, adf for annual), data frames of respective performance metrics, and functions for plotting respective data.