subsetStation: Monthly subset of a grid

View source: R/subsetGrid.R

subsetStationR Documentation

Monthly subset of a grid

Description

Retrieves a grid that is a logical subset of the input grid along its 'time' dimension, on a monthly basis. Multimember multigrids are supported. Subroutine of subsetGrid.

Usage

subsetStation(grid, station.id = NULL)

Arguments

grid

Input grid to be subset (possibly a multimember/multigrid).

season

An integer vector indicating the months to be subset.

Details

An attribute 'subset' with value 'time' is added to the Variable slot of the output grid.

Value

A grid (or multigrid) that is a logical subset of the input grid along its 'time' dimension.

Author(s)

J. Bedia

See Also

Other subsetting: getTemporalIntersection(), intersectGrid(), intersectGrid.spatial(), intersectGrid.time(), limitArea(), subsetCluster(), subsetDimension(), subsetGrid(), subsetMembers(), subsetRuntime(), subsetSeason(), subsetSpatial(), subsetVar(), subsetYears()


SantanderMetGroup/transformeR documentation built on Aug. 29, 2024, 6:42 a.m.