cmip_fetch: Fetch data

View source: R/cmip_fetch.R

cmip_fetchR Documentation

Fetch data

Description

Fetch data

Usage

cmip_fetch(route, overwrite = FALSE)

Arguments

route

Route to a folder, a character string

overwrite

(logical) Whether to overwrite files if they already exist on your machine. Default: FALSE

Details

Note that data is not read into R as data can be very large. See cmip_read

Value

A character vector of full file paths. A print method makes a tidy return object

Examples

## Not run: 
key <- "bcsd/yearly/cnrm_cm3.1/cnrm_cm3.1.sresa1b.monthly.Prcp.2034.nc"
(res <- cmip_fetch(key))
cmip_read(res)

## End(Not run)

ropenscilabs/cmip documentation built on May 18, 2022, 7:35 p.m.