EITrans::univariate_ensemble_analogs generates analogs using univariate ensemble forecasts. It only returns the time indices where the most similar historical ensemble forecasts are found.

univariate_ensemble_analogs(
  ens,
  ens_times,
  ens_flts,
  ens_times_train,
  ens_times_dev,
  circular_ens = F,
  config = NULL
)

Arguments

ens

A 4-dimensional array for ensemble forecasts. Dimensions should be [stations, times, lead times, members].

ens_times

A vector for ensemble forecast times.

ens_flts

A vector for ensemble forecast lead times.

ens_times_train

Training times from the ensemble forecast times.

ens_times_dev

Development times from the ensemble forecast times.

circular_ens

Whether the ensemble forecast variable is circular.