Download select MACA V2 datasets.

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

if (FALSE) { mco_get_macav2_monthly(x = mt_state) }