concatGrids: Concatenate a list of griddata objects

Description Usage Arguments Details Value

View source: R/readdata.R

Description

Griddata objects are concatenated by appending their temperature observations into a single grand matrix with all the time sices from the concatenated objects.

Usage

1
concatGrids(gridlist)

Arguments

gridlist

List of grids to concatenate

Details

The time indices are likewise concatenated so that they will give accurate time values. The tags are concatenated and updated so that they point to the new location of their original data. Lat and lon values and the tgop operator are unchanged, and they must be the same for all of the concatenated grids, or an error is raised.

Note: Time values are given as years since the start year for the data set. If you concatenate data sets with different start years, the time values will not be compatible. For most of what we do in this package, the difference won't matter, but it's something to be aware of.

Value

A griddata (q.v. link{read.temperatures}) object with the concatenated grid values.


JGCRI/fieldgenr documentation built on July 22, 2020, 3:17 a.m.