climatology_ens_forecast: Returns a leave-one-year-out climatology-based ensemble forecast
Description
for a given year, the ensemble forecast simply consists of the observations in all other years.
This is essentially an auxiliary function for computing skill scores relative to climatology.
Usage
climatology_ens_forecast(obs_dt, by = setdiff(dimvars(obs_dt), "year"))
Value
Long data table with the typical ensemble-forecast looks, i.e. containing a column 'member'.
Arguments
obs_dt
Data table containing observations, must contain a column 'year'.
by
character vector containing the column names of the grouping variables, e.g. c('month','lon','lat').