bindGrid.member: Grid binding by member dimension

View source: R/bindGrid.R

bindGrid.memberR Documentation

Grid binding by member dimension

Description

Flexible binding of (spatiotemporally consistent) grids by their member dimension useful to handle sets of predictors as a single block.

Usage

bindGrid.member(..., tol, attr., skip.temporal.check)

Arguments

...

Input grids to bind by their member dimension. These must be compatible in time and space (see details). For flexibility, they can be introduced as a list or directly as consecutive arguments.

tol

numeric. Coordinate differences smaller than spatial.tolerance will be considered equal coordinates. Default to 0.001 –assuming that degrees are being used it seems a reasonable rounding error after interpolation–. This value is passed to the identical function to check for spatial consistency of the input grids.

attr.

Character string used to update the "dataset" attribute of the output grid. This is used only when binding grids along the "member" dimension, in case multi-model combination is being undertaken, (i.e., different models are being joined as members of a single multimodel dataset) so the new dataset attribute reflects this. Note that the default behaviour is retaining the "dataset" attribute of the first grid given, resulting in a misleading metadata information if this is the case. Default to NULL, and ignored.

skip.temporal.check

If set to TRUE, it skips the temporal consistency checks when binding along the member dimension. For internal usage only, better not to use.

Author(s)

J Bedia

See Also

Other internal.helpers: array3Dto2Dmat(), array3Dto2Dmat.stations(), bindGrid.spatial(), bindGrid.time(), grid3Dto2Dmatrix(), mat2Dto3Darray.stations(), redim(), sortDim.spatial(), sortDim.time()


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