Learn R Programming

RCMIP5 (version 1.2.0)

mergeExperiments: Merge data for two separate experiments

Description

The most common reason to merge experiments is across time periods--e.g., merging 'historical' with one of the RCPs. This function does that, checking that the merge is appropriate and possible.

Usage

mergeExperiments(x, y, verbose = FALSE)

Arguments

x
cmip5data A cmip5data object
y
cmip5data A cmip5data object
verbose
logical. Print info as we go?

Value

A cmip5data object.

Details

The variable, units, spatial grid, depths/levels, domain, and model must all match. The timesteps must be identical, and time values non-overlapping. If the time gap between the two experiments is different than their internal timesteps (e.g., if two monthly data objects are separated by more than a month) a warning will be printed.