oWCLIM: Obtain global climate data

Description Usage Arguments Details Functions See Also Examples

View source: R/oWCLIM.R

Description

Obtain data from the 'worldclim 2' dataset (paper).

Usage

1
2
3
4
oWCLIM(mask = NULL, variable = NULL, month = c(1:12),
  resolution = 0.5)

downloadWCLIM(file = NULL, localPath = NULL)

Arguments

mask

[geom | Spatial* | sf]
spatial object of which the extent is the area of interest.

variable

[character(.)]
the climatic variable of interest; see Details.

month

[integerish(.)]
the month(s) for which the data should be extracted.

resolution

[numeric(1)]
the spatial resolution in arc-minutes.

file

[character(1)]
the name of the file to download.

localPath

[character(1)]
the local path where files are supposed to be stored (i.e. on your harddisc).

...

[various]
other arguments.

Details

The object provided in mask is treated as a single mask, irrespective of that object consisting of only one or several features. The extent comprising all features (point(s), line(s), polygon(s)) is used as area of interest. This is in contrast to obtain, where a mask may consist of several features, each of which are treated as seperate mask.

The following variables are included:

Functions

See Also

Other obtain operators (Global): oESALC, oGFC, oMODIS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

myWCLIM <- oWCLIM(mask = rtGeoms$mask, variable = c("tavg"),
                  month = c(5:9))
visualise(raster = myWCLIM, trace = TRUE)

# get the (updated) bibliography
reference(style = "bibtex")

## End(Not run)

EhrmannS/rasterTools documentation built on Feb. 4, 2019, 11:22 a.m.