as.field.dsensemble: Coerce input to a 'field' object

View source: R/as.field.R

as.field.dsensembleR Documentation

Coerce input to a field object

Description

Transform a dsensemble eof object (output of the function DS) into the esd class dsensemble field list. The function uses the downscaled principle components with the corresponding spatial EOF patterns and eigenvalues to calculate downscaled fields. This is done for all selected ensemble members (see input im).

Usage

## S3 method for class 'dsensemble'
as.field(
  x,
  ...,
  is = NULL,
  ip = NULL,
  im = NULL,
  anomaly = FALSE,
  verbose = FALSE
)

Arguments

x

the input object of class ds

...

other arguments

is

a list or data.frame providing a space index, e.g., station record or a lon(gitude) and lat(itude) range. If NULL include all.

ip

a numerical or numerical vector with indices of the principle components to be included. If NULL include all.

im

a numerical or numerical vector with indices of the ensemble members to be included. If NULL include all.

anomaly

a boolean; if TRUE return anomalies (climatology is in attribute 'mean')

verbose

a boolean; if TRUE print information about progress

Value

a dsensemble field list object, i.e., a list where each element is a downscaled field corresponding to an ensemble member

See Also

as.field DSensemble EOF


metno/esd documentation built on April 24, 2024, 9:19 p.m.