climatology_ens_forecast {SeaVal} | R Documentation |
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"))
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. |
Value
Long data table with the typical ensemble-forecast looks, i.e. containing a column 'member'.
Examples
dt = climatology_ens_forecast(chirps_monthly)
[Package SeaVal version 1.2.0 Index]