VTnames: VTYPE names by base calibration

Description Usage Arguments Value Author(s) References Examples

View source: R/VTnames.R

Description

Given the name of the base calibration (e.g. CONUS, WCR), returns a list of the names of the potential vegetation types which MC2 can produce. The ith element of the list corresponds to VTYPE=i.

Usage

1
VTnames(baseCalibration)

Arguments

baseCalibration

"CONUS" or "WCR". "GLOBAL" to be added eventually.

Value

Returns a list object consisting of text strings, one for each possible value of VTYPE (MC2's potential vegetation type output variable). For the CONUS base calibration, as of 1/23/14 VTYPE ranges from 1 thru 49, with several embedded unused values.

Author(s)

Dave Conklin

References

See MC2bigeography.xlsx in the MC2 Subversion repository.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## The function is currently defined as
function (baseCalibration) 
{
    if (baseCalibration == "CONUS") {
        c("cold barren", "tundra aka alpine", "taiga-tundra", 
            "boreal needleleaf forest", "boreal woodland", "subalpine forest", 
            "maritime needleleaf forest", "temperate needleleaf forest", 
            "temperate deciduous broadleaf forest", "cool mixed forest", 
            "temperate warm mixed forest", "temperate needleleaf woodland", 
            "temperate deciduous broadleaf woodland", "temperate cool mixed woodland", 
            "temperate warm mixed woodland", "C3 shrubland", 
            "C3 grassland", "temperate desert and semidesert", 
            "subtropical needleleaf forest", "subtropical deciduous broadleaf forest", 
            "warm evergreen broadleaf forest", "subtropical mixed forest", 
            "subtropical needleleaf woodland", "subtropical deciduous broadleaf woodland", 
            "subtropical evergreen broadleaf woodland", "subtropical mixed woodland", 
            "C4 shrubland", "C4 grassland", "subtropical desert and semidesert", 
            "tropical evergreen broadleaf forest", "tropical deciduous woodland", 
            "tropical savanna", "unused33", "unused34", "tropical desert", 
            "moist temperate needleleaf forest", "unused37", 
            "subalpine meadow", "water and wetlands", "natural barren", 
            "developed", "larch forest", "unused43", "unused44", 
            "unused45", "unused46", "unused47", "unused48", "dry temperate needleleaf forest")
    }
    else if (baseCalibration == "WCR") {
        c("cold barren", "tundra aka alpine", "taiga-tundra", 
            "boreal needleleaf forest", "boreal woodland", "subalpine forest", 
            "maritime needleleaf forest", "temperate needleleaf forest", 
            "temperate deciduous broadleaf forest", "cool mixed forest", 
            "temperate warm mixed forest", "temperate needleleaf woodland", 
            "temperate deciduous broadleaf woodland", "temperate cool mixed woodland", 
            "temperate warm mixed woodland", "C3 shrubland", 
            "C3 grassland", "temperate desert and semidesert", 
            "subtropical needleleaf forest", "subtropical deciduous broadleaf forest", 
            "warm evergreen broadleaf forest", "subtropical mixed forest", 
            "subtropical needleleaf woodland", "subtropical deciduous broadleaf woodland", 
            "subtropical evergreen broadleaf woodland", "subtropical mixed woodland", 
            "C4 shrubland", "C4 grassland", "subtropical desert and semidesert", 
            "tropical evergreen broadleaf forest", "tropical deciduous woodland", 
            "tropical savanna", "unused33", "unused34", "tropical desert", 
            "cool needleleaf forest", "unused37", "subalpine meadow", 
            "water and wetlands", "natural barren", "developed", 
            "larch forest", "Sitka spruce zone", "western hemlock zone", 
            "Pacific silver fir zone", "mountain hemlock zone", 
            "subalpine fir zone", "subalpine parkland zone")
    }
    else stopifnot(FALSE)
  }

MC2toPath documentation built on May 29, 2017, 7:54 p.m.