Gets observational data for model evaluation, given the benchmarking variable, and data source used
for the evaluation. This information is specified in the evaluation settings (argument settings
).
collect_obs_eval(
siteinfo,
settings,
adf = NULL,
mdf = NULL,
ddf = NULL,
hrdf = NULL,
hhdf = NULL
)
A data frame containing site meta info (rows for sites). Required columns are: "sitename", "date_start", "date_end", "lon", "lat", "elv"
.
A list specifying evaluation settings (see vignette eval_sofun.pdf for more information and examples)
A nested data frame with rows for sites and time series (annual) for each site nested inside the column data
.
A nested data frame with rows for sites and time series (monthly) for each site nested inside the column data
.
A nested data frame with rows for sites and time series (daily) for each site nested inside the column data
.
A nested data frame with rows for sites and time series (hourly) for each site nested inside the column data
.
A nested data frame with rows for sites and time series (half-hourly) for each site nested inside the column data
.
A list containing nested data frames of observed values aggregated to several temporal scales (ddf for daily, xdf for X-daily
(determined by argument agg
), mdf for monthly, adf for annual).
if (FALSE) { # \dontrun{
obs <- collect_obs_eval(settings = NULL, adf = NULL, mdf = NULL, ddf = NULL, hrdf = NULL, hhdf = NULL, agg = 8)
} # }