Description Usage Arguments Value Note Examples
Loads CMIP5 data from disk. loadCMIP5
will return a unique model ensemble,
or will apply a function across all ensemble members of a
specified experiment-variable-model combination.
1 2 3 |
variable |
CMIP5 variable to load (required) |
model |
CMIP5 model to load (required) |
experiment |
CMIP5 experiment to load (required) |
ensemble |
optional CMIP5 ensemble to load |
domain |
optional CMIP5 domain to load |
path |
root of directory tree |
recursive |
logical. Should we recurse into directories? |
verbose |
logical. Print info as we go? |
force.ncdf |
Force use of the less-desirable ncdf package for testing? |
FUN |
function. Function (mean, min, max, or sum) to apply across ensembles |
yearRange |
numeric of length 2. If supplied, load only years of data in this range |
ZRange |
numeric of length 2. If supplied, load only Z data within this range. |
loadAs |
a string identifying possible structures for values. Currently: 'data.frame' and 'array' the only valid options. |
A cmip5data
object, or NULL
if nothing loaded
The yearRange
parameter is intended to help users deal with large
CMIP5 data files on memory-limited machines, e.g. by allowing them to process
smaller chunks of such files.
FUN is limited to min, max, sum, and mean (the default), because the memory costs of keeping all ensembles in memory is too high. Be warned that min and max are quite slow!
1 2 3 4 | ## Not run:
loadCMIP5(experiment='rcp85', variable='prc', model='GFDL-CM3', ensemble='r1i1p1')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.