mco_get_macav2_monthly: Download select MACA V2 datasets.

View source: R/mco_get_macav2_monthly.R

mco_get_macav2_monthlyR Documentation

Download select MACA V2 datasets.

Description

Download select MACA V2 datasets.

Usage

mco_get_macav2_monthly(
  x = mt_state %>% sf::st_buffer(10000),
  elements,
  models,
  scenarios,
  out_dir = tempdir(),
  ...
)

Arguments

x

An object of class sf.

elements

A character vector of climate elements.

models

A character vector of datasets

scenarios

A character vector of representative climate pathways

out_dir

A directory in which to download the raw MACA V2 datasets. Defaults to the current working directory

...

Other parameters passed on to thredds::tds_ncss_download.

Value

A raster brick of the desired MACA V2 datasets.

Examples

## Not run: 
mco_get_macav2_monthly(x = mt_state)

## End(Not run)

mt-climate-office/mcor documentation built on March 27, 2024, 6:30 p.m.