View source: R/retrieve.ESGF.R
retrieve.ESGF | R Documentation |
retrieve.ESGF
is a wraparound
for retrieve
that reads several files belonging to the same model and run.
Also see <https://pcmdi.llnl.gov/CMIP6/Guide/dataUsers.html> for more documentationRetrieve CMIP data directly from the Earth System Grid Federation (ESGF)
https://earthsystemcog.org/projects/cog/esgf_search_restful_api
meta.ESGF returns a data.frame with the model metadata and the OpenDAP URL that
can be used with retrieve.ESGF. The function retrieve.ESGF
is a wraparound
for retrieve
that reads several files belonging to the same model and run.
Also see <https://pcmdi.llnl.gov/CMIP6/Guide/dataUsers.html> for more documentation
## S3 method for class 'ESGF'
retrieve(im = 1, meta = NULL, verbose = FALSE, ...)
verbose |
Logical value defaulting to FALSE. If FALSE, do not display comments (silent mode). If TRUE, displays extra information on progress. |
param |
Name of parameter |
url |
The base URL for ESGF |
n |
Number of models to read - NULL reads everything |
expid |
Name of the MIP experiment ('historical' for historical run) |
mip |
CMIP5 or CMIP6 |
freq |
Frequency of data |
A data.frame for meta.ESGF
and a "zoo" "field" object with additional attributes used for further
processing for +coderetrieve.ESGF.
retrieve meta.ESGF
## Not run:
meta <- meta.ESGF(n=3)
X <- retrieve.ESGF(im=3,lon=c(-30,40),lat=c(50,70),meta=meta)
map(X)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.