queryObservationsSpace: RAnEnExtra::queryObservationsSpace

Description Usage Arguments Value Author(s)

View source: R/queryObservationsSpace.R

Description

RAnEnExtra::queryObservationsSpace carries out the spatial downscaling by reusing the indices from AnEn at different locations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
queryObservationsSpace(
  analogs.index,
  analogs.x,
  analogs.y,
  analogs.flt,
  obs,
  obs.x,
  obs.y,
  obs.id,
  verbose = 3,
  show.progress = F,
  keep.station.table = F
)

Arguments

analogs.index

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

analogs.x

The x coordinates for analog stations.

analogs.y

The y coordinates for analog stations.

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.x

The x coordinates for observation stations. These will be the target stations that analogs will be downscaled to.

obs.y

The y coordinates for observation stations. These will be the target stations that analogs will be downscaled to.

obs.id

The observation variable ID that will be used to downscale.

verbose

Verbose level for output messages.

show.progress

Whether to show progress information.

keep.station.table

Whether to keep the lookup table for matching AnEn stations and the target observation stations in the return.

Value

An AnEn list

Author(s)

Weiming Hu weiming@psu.edu

Martina Calovi mcalovi@psu.edu

Guido Cervone cervone@psu.edu


Weiming-Hu/RAnEnExtra documentation built on Sept. 26, 2021, 6:44 a.m.