climatology_ens_forecast | R Documentation |
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.
climatology_ens_forecast(obs_dt, by = setdiff(dimvars(obs_dt), "year"))
obs_dt |
Data table containing observations, must contain a column 'year'. |
by |
character vector containing the column names of the grouping variables, e.g. |
Long data table with the typical ensemble-forecast looks, i.e. containing a column 'member'.
dt = climatology_ens_forecast(chirps_monthly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.