retrieve.ESGF: Retrieve CMIP data directly from the Earth System Grid...

View source: R/retrieve.ESGF.R

retrieve.ESGFR Documentation

Retrieve 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

Description

Retrieve 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

Usage

## S3 method for class 'ESGF'
retrieve(im = 1, meta = NULL, verbose = FALSE, ...)

Arguments

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

Value

A data.frame for meta.ESGF and a "zoo" "field" object with additional attributes used for further processing for +coderetrieve.ESGF.

See Also

retrieve meta.ESGF

Examples

## 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)

metno/esd documentation built on April 29, 2024, 3:34 p.m.