get_out_dirs: Get ALFRESCO output directories

Description Usage Arguments Details Value Examples

View source: R/extraction.R

Description

Get ALFRESCO output directories for an ALFRESCO project.

Usage

1
get_out_dirs(domain, project, cru, cru_id = "CRU 3.2")

Arguments

domain

character, the ALFRESCO run spatial domain, either "akcan1km" or "ak1km".

project

character, valid projects based on the domain. See details.

cru

logical, whether data extraction is for historical years (ALFRESCO runs based on CRU data) or projected years (GCM data).

cru_id

character, label for CRU data. Defaults to "CRU 3.2".

Details

This function supports data extraction procedures for ALFRESCO model geotiff map outputs. A project refers to a collection of output directories pertaining to the set of climate models and emissions scenarios/RCPs that were used in project simulations. This function returns the full file path to each pertinent directory, given a valid domain and project. Valid projects for Alaska/western Canada include "IEM" and "FMO_Calibrated". For Alaska "statewide", it is "CMIP5_SW".

Value

a vector of project climate model/emissions scenario ALFRESCO output directories.

Examples

1
## Not run: domain = "ak1km", project = "CMIP5_SW", cru = TRUE

leonawicz/alfresco documentation built on May 6, 2019, 4:59 p.m.