Downloads and unzips 10min resolution Worldlclim rasters, stores them for reuse.
get_worldclim_rasters(wc_vars = "tavg")
wc_vars | The WorldClim variables to be downloaded, e.g. 'tavg', 'prec' (see |
---|
Zip files are downloaded from http://biogeo.ucdavis.edu/data/worldclim/v2.0/tif/base. This function is normally not invoked by the user, since climate_presence
as well as get_climate_vars
download the rasters as needed. The path to download the rasters to is read from options()$worldclimpath
.
# Return worldclim tmean and prec rasters, as a list with those components# NOT RUN { wc <- get_worldclim_rasters(wc_vars=c("tavg","tmin")) # }