R/get_bio_oracle.R
get_bio_oracle.Rd
Get bioclimatic layers from Bio-Oracle for current and future scenarios
get_bio_oracle( period, var_type, model = NULL, scenario = NULL, sv_dir = getwd(), load2r = TRUE, parallel = TRUE )
period | Time period. Posible values are: "current","2050","2100","2200". |
---|---|
var_type | Type of variable. Posible values are: 'salinity','sea_surface_temperature', 'current_velocity','sea_water_temperature','sea_water_salinity','sea_ice_thickness', 'chlorophyll_concentration','sea_surface_salinity'. |
model | Climate model. Possible values are: "UKMO-HadCM3" and "AOGCM" |
scenario | Climate change scenario. Posible values are "a1b","a2","b1","rcp26","rcp45","rcp60","rcp85". |
sv_dir | Path to the directory where the layers will be saved. The default is the working directory of the R session. |
load2r | Logical. Load layers into R? |
parallel | Download layers in parallel. |
For more details visit http://www.bio-oracle.org/index.php
Assis, J., Tyberghein, L., Bosh, S., Verbruggen, H., Serrao, E. A., & De Clerck, O. (2017). Bio-ORACLE v2.0: Extending marine data layers for bioclimatic modelling. Global Ecology and Biogeography.
if (FALSE) { swater_temp <- get_bio_oracle(period = "current", var_type = 'sea_water_temperature', model = NULL, scenario = NULL, sv_dir="~/Desktop/", load2r = TRUE, parallel = TRUE) swater_temp_2100_AOGCM_rcp85 <- get_bio_oracle(period = "2100", var_type ='sea_water_temperature', model = "AOGCM", scenario = "rcp85", sv_dir="C:/Users/l916o895/Desktop", load2r = TRUE, parallel = TRUE) }