get_training_subsets: Get subsets of ensemble and telemetry data for BMA/EMOS...

Description Usage Arguments

View source: R/utility.R

Description

Implements different strategies based on on sliding/time-of-day training and rolling/non-rolling formats. For non-rolling forecasts, sliding training generates only a single model at the issue time using the sequence of data up until one step before issue. Time-of-day training generates unique models for each step in the run, matching the observations from previous days to the forecast issued at the same total lookahead time (lead time + partial horizon).

Usage

1
2
get_training_subsets(time_idx_forecast, issue, step, metadata, ensemble,
  telemetry)

Arguments

time_idx_forecast

Index of forecast time, relative to telemetry's valid times

step

Step (index) in this forecast run

metadata

A data.frame of forecast parameters

ensemble

A list of data=[issue x step x member] array of all ensemble data (historical + test) and issuetime=vector of POSIXct time stamps

telemetry

A list of data=vector of telemetry and validtime=vector of POSIXct times


kdayday/ppnwp documentation built on Oct. 8, 2020, 8:47 a.m.