get_bio_oracle: get_bio_oracle: Get environmental layers from Bio-Oracle.

View source: R/get_bio_oracle.R

get_bio_oracleR Documentation

get_bio_oracle: Get environmental layers from Bio-Oracle.

Description

Get bioclimatic layers from Bio-Oracle for current and future scenarios

Usage

get_bio_oracle(
  period,
  var_type,
  model = NULL,
  scenario = NULL,
  sv_dir = getwd(),
  load2r = TRUE,
  parallel = TRUE
)

Arguments

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.

Details

For more details visit http://www.bio-oracle.org/index.php

References

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.

See Also

get_envirem_elev, get_envirem_clim, get_chelsa

Examples

## Not run: 
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)

## End(Not run)

luismurao/ntbox documentation built on May 9, 2024, 8:24 p.m.