get_envirem_clim: Download ENVIREM climate data set(s)

Description Usage Arguments Examples

View source: R/get_climate_data.R

Description

This function requests raster layers from the envirem dataset (Bemmels, et al. 2017, Ecography) downloads the zip archive, reads files into R and disposes of the originals because you should save the layers in an R ready raster object using raster::writeRaster().

Usage

1
get_envirem_clim(period = "cur", model = "")

Arguments

period

A string for time period to get. Either 'cur', 'midholo', or 'lgm'.

model

A string for which model to use. Either 'ccsm4', 'miroc-esm', or 'mpi-esm'.

Examples

1
2
3
4
5
## Not run: 
#get 2.5 arcmin grid for North America (only option currently.
envir <- get_envirem_clim(period='cur', model='');

## End(Not run)

rsh249/vegdistmod documentation built on May 28, 2019, 3:31 a.m.