RAnEn::toMemberForecasts finds the most similar historical forecasts that are associated with each analog members.

toMemberForecasts(
  forecasts,
  sims.time.index,
  sims.stations.index = NULL,
  stations.index = 1,
  test.times.index = 1,
  flts.index = 1,
  members.index = NULL,
  parameters.index = NULL,
  verbose = T
)

Arguments

forecasts

The Data from Forecasts. Usually it is a 4D array.

sims.time.index

The similarity time index array from AnEn.

sims.stations.index

The similarity station index array from AnEn.

stations.index

The station index of the analogs.

test.times.index

The test time index of the analogs.

flts.index

The forecast lead time index of the analogs.

members.index

The analog members index.

parameters.index

The forecast parameters index.

verbose

Whether to show progress and summary information

Value

A 5 dimensional array with the shape [parameters][stations][times][flts][members].

Author

Weiming Hu weiming@psu.edu

Laura Clemente-Harding laura@psu.edu