getMemberDomain: Define indices for member selection Define indices for member...

View source: R/getMemberDomain.R

getMemberDomainR Documentation

Define indices for member selection Define indices for member selection

Description

Define indices for member selection Define indices for member selection

Usage

getMemberDomain(grid, members, continuous = FALSE)

Arguments

grid

A java ‘GeoGrid’

members

Numeric vector of the members to be selected

continuous

Is the selection of non-continuous members allowed? Default to FALSE (i.e., non-contiguos selections are allowed, for instance members = c(1,3,5)), that is used in seasonal forecast applications. Otherwise (e.g. in loadGridData), non-continuous selections are forbidden.

Value

A list of length n members, containing a ‘ucar.ma2.Range’ object

Note

The function assumes that the ensemble members are internally designated by character strings, rather than integers than in the former version. Otherwise, the getCoordValues() method should be used instead of getNames() on the ensemble axis.

Author(s)

J. Bedia, S. Herrera


SantanderMetGroup/loadeR documentation built on July 4, 2023, 4:29 a.m.