get_worldclim: Download WorldClim data for modern or paleo models.

Description Usage Arguments Examples

View source: R/get_climate_data.R

Description

This function requests climate raster objects from www.worldclim.org, downloads the files, reads them into R and disposes of the original files.

Usage

1
2
get_worldclim(period = "cur", model = "", version = "1_4",
  varset = "bio", res = 2.5)

Arguments

period

A string. Either 'cur', 'midholo', or 'lgm'.

model

For paleo models. Which to use (i.e., 'ccsm4'). See http://worldclim.org/paleo-climate1 for options.

version

Either '1_4', or '2.0'

varset

Either 'bio', 'tmean', 'tmin', 'tmax', or 'prec'.

res

What spatial resolution? '10', '2.5' arcmin, or '30' seconds. (options are '10', '2.5', '30').

Examples

1
2
3
4
5
6
## Not run: 
#get 10 minute mean monthly temperature grids.

abies <- get_worldclim(period='cur', varset = 'tmean', res=10); 

## End(Not run)

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