read_dbem_ens: Reads DBEM files from the ensemble member modeling with the...

View source: R/read_dbem_ens.R

read_dbem_ensR Documentation

Reads DBEM files from the ensemble member modeling with the GFDL

Description

This function loads the DBEM files from the GFDL 8.5 ensemble member from the CORU-DROBO. You have to be connected to the UBC network and have access to the CORU-DROBO in order to use the function. Note that user/id will not be required but the path wont be found. #'

Usage

read_dbem_ens(
  taxon_key,
  year,
  model = "GFDL",
  rcp = 85,
  ensemble,
  data_type,
  root_path
)

Arguments

taxon_key

is the species to load as taxon key number

year

expects a year or a sequence of years to load the data from 1951 to 2099

model

is the ESM models to load; GFDL; IPSL, MPI. For all models select "All". Note that for now model is set to GFDL since is the only one we have

rcp

expects "26" for RCP 2.6-low emission scenario and "85" for RCP 8.5-high emission scenario. For now set to 85 as we do not have other

ensemble

expects an ensemble member. Options range from 102 to 112

data_type

expects Catch or Abd data

path

Expects the computer head path before DROBO. Do not include /

Value

A tibble with the DBEM data

Author(s)

Juliano Palacios Abrantes | j.palacios@oceans.ubc.ca

Examples

Read one year one ensemble
read_dbem_ens(600004, 2021, model = "GFDL", rcp = 85, ensemble = 102, data_type = "Abd", root_path =  "/Volumes/DATA/")
Read multiple years one ensemble
read_dbem_ens(600004, seq(2000,2021,1), model = "GFDL", rcp = 85, ensemble = 102, data_type = "Abd", root_path =  "/Volumes/DATA/")

coruubc/Rcoru documentation built on Feb. 11, 2024, 12:07 a.m.