Get ALFRESCO output directories for an ALFRESCO project.

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".

Value

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

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".

Examples

# NOT RUN {
domain = "ak1km", project = "CMIP5_SW", cru = TRUE
# }