climatology_ens_forecast: Returns a leave-one-year-out climatology-based ensemble...

climatology_ens_forecastR 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. c('month','lon','lat').

Value

Long data table with the typical ensemble-forecast looks, i.e. containing a column 'member'.

Examples


dt = climatology_ens_forecast(chirps_monthly)



SeaVal documentation built on June 24, 2024, 5:15 p.m.