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
).
Usage
collect_obs_eval(
siteinfo,
settings,
adf = NULL,
mdf = NULL,
ddf = NULL,
hrdf = NULL,
hhdf = NULL
)
Arguments
- siteinfo
A data frame containing site meta info (rows for sites). Required columns are:
"sitename", "date_start", "date_end", "lon", "lat", "elv"
.- settings
A list specifying evaluation settings (see vignette eval_sofun.pdf for more information and examples)
- adf
A nested data frame with rows for sites and time series (annual) for each site nested inside the column
data
.- mdf
A nested data frame with rows for sites and time series (monthly) for each site nested inside the column
data
.- ddf
A nested data frame with rows for sites and time series (daily) for each site nested inside the column
data
.- hrdf
A nested data frame with rows for sites and time series (hourly) for each site nested inside the column
data
.- hhdf
A nested data frame with rows for sites and time series (half-hourly) for each site nested inside the column
data
.