A rasterStack or a rasterBrick (if doBrick=TRUE) of downloaded
worldclim rasters at the requested resolution.
Arguments
bcRes
numeric. Resolution of the climatic layers. Currently
available resolutions are 0.5, 2.5 and 10.
bcSel
character. Vector with bionames to be selected.
mapCntr
numeric. Vector with longitude and latitude for a tile.
Required for bcRes 0.5, for other resolutions world data will be downloaded.
doBrick
logical. Converts downloaded rasters to brick for faster
processing.
logger
Stores all notification messages to be displayed in the
Log Window of Wallace GUI. Insert the logger reactive list here for
running in shiny, otherwise leave the default NULL.
Author
Jamie Kass <jamie.m.kass@gmail.com>
Gonzalo E. Pinilla-Buitrago <gepinillab@gmail.com>
Bethany A. Johnson <bjohnso005@citymail.cuny.edu>
Details
This function is called by the module envs to download
WorldClim variables from www.worldclim.com. The variables to be downloaded
are selected by the user with bcSel and the resolution with bcRes. It
returns either a rasterStack or rasterBrick of selected variables with
appropriate names for further analyses.