RAnEnExtra::queryObservationsTime carries out the temporal downscaling by reusing the indices from AnEn at forecast lead times. The downscaled time series are defined with the original forecast lead time being at the center.

queryObservationsTime(
  analogs.index,
  analogs.flt,
  obs,
  obs.id,
  obs.time,
  radius = 1.5 * 3600,
  res = 15 * 60,
  verbose = 3,
  show.progress = F,
  keep.downscaled.FLTs = F
)

Arguments

analogs.flt

The forecast lead times for analog stations in number of seconds.

obs

A 3-dimensional array for observations used to generate analogs. It is usually the member search_observations from config that is used by RAnEn::generateAnalogs.

obs.id

The observation variable ID that will be used to downscale.

obs.time

The obseravtion times. This is usually the member observation_times from config that is used by RAnEn::generateAnalogs.

radius

The number of seconds that each forecast lead time will be extended to.

res

The number of seconds for the downscaled tempoeral resolution.

verbose

Verbose level for output messages.

show.progress

Whether to show progress information.

keep.downscaled.FLTs

Whether to return the downscaled forecast lead times.

analogs

A 4-dimensional array for analogs time index generated from RAnEn::generateAnalogs.

Value

An AnEn list.