subsetSeason: Monthly subset of a grid

View source: R/subsetGrid.R

subsetSeasonR 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

subsetSeason(grid, season)

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.spatial(), intersectGrid.time(), intersectGrid(), limitArea(), subsetCluster(), subsetDimension(), subsetGrid(), subsetMembers(), subsetRuntime(), subsetSpatial(), subsetStation(), subsetVar(), subsetYears()


SantanderMetGroup/transformeR documentation built on Oct. 28, 2023, 5:26 a.m.