1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | #------------------------------------------------------------------- |
---|
4 | # Objectives |
---|
5 | #------------------------------------------------------------------- |
---|
6 | # This is the template to make new configuration files. It contains |
---|
7 | # all the PFTs that has been parameterized this far. Select the |
---|
8 | # PFTs you would like to use in your simulation. Note that you will |
---|
9 | # need a PFT map that distinguishes the same number of PFTs. |
---|
10 | # |
---|
11 | # Choose for each forest PFT whether you want age classes or not. |
---|
12 | # Have a look at teh model documentation on the wiki to make sure |
---|
13 | # you understand the difference between a diameter class (set by |
---|
14 | # NCIRC) and an age class (set by NAGEC). If you want to distinguish |
---|
15 | # age classes for a PFT, set the value in the column 'has_agec' |
---|
16 | # to 'y'. If the value is set to no, the model will use one age class |
---|
17 | # has been been the default since the start of ORCHIDEE. If set the |
---|
18 | # 'y' the model will distinguish NAGEC number of age classes. The |
---|
19 | # code has been tested for 1 and 4 age classes. When using a different |
---|
20 | # number of age classes the boundaries of the age classes wil have to |
---|
21 | # be set as well. Note that age classes are calculated internally and |
---|
22 | # do not need to be represented in the PFT map. |
---|
23 | # |
---|
24 | # The first column 'domain' gives the spatial domain for which the |
---|
25 | # parameters have been tested. Parameters may work outside their |
---|
26 | # domain but don be surprised if they don't. |
---|
27 | # |
---|
28 | # WARNING: the order of the PFTs should match the PFT definition of |
---|
29 | # the land cover, forest management, litter raking and species maps. |
---|
30 | # |
---|
31 | # CODING GUIDELINE: variable names written in capitals are variables |
---|
32 | # that will end up in the run.defs |
---|
33 | |
---|
34 | #------------------------------------------------------------------- |
---|
35 | # Configure the vegetation. |
---|
36 | #------------------------------------------------------------------- |
---|
37 | NAGEC = 4 |
---|
38 | header = ['domain', 'mtc', 'pft', 'species, genus or biome', 'pft_to_mtc', 'has_agec'] |
---|
39 | config = [\ |
---|
40 | ['Global', 'BareSoil', 'SoilBare', 'Global', 1, 'n'], |
---|
41 | ['Global', 'TropicalBroadLeavedEvergreen', 'BroadLeavedEvergreen', 'Tropical', 2, 'y'], |
---|
42 | ['Global', 'TropicalBroadLeavedRaingreen', 'BroadLeavedRaingreen', 'Tropical', 3, 'y'], |
---|
43 | ['Global', 'TemperateNeedleleafEvergreen', 'NeedleleafEvergreen', 'Temperate', 4, 'y'], |
---|
44 | ['Europe', 'TemperateNeedleleafEvergreen', 'PinusSylvestris', 'Temperate', 4, 'y'], |
---|
45 | ['Europe', 'TemperateNeedleleafEvergreen', 'PinusPinaster', 'Temperate', 4, 'y'], |
---|
46 | ['Europe', 'TemperateNeedleleafEvergreen', 'PiceaSp', 'Temperate', 4, 'y'], |
---|
47 | ['Europe', 'TemperateNeedleleafEvergreen', 'Residual', 'Temperate', 4, 'y'], |
---|
48 | ['Global', 'TemperateBroadLeavedEvergreen', 'BroadLeavedEvergreen', 'Temperate', 5, 'y'], |
---|
49 | ['Europe', 'TemperateBroadLeavedEvergreen', 'QuercusIlexSuber', 'Temperate', 5, 'y'], |
---|
50 | ['Global', 'TemperateBroadLeavedSummergreen', 'BroadLeavedSummergreen', 'Temperate', 6, 'y'], |
---|
51 | ['Europe', 'TemperateBroadLeavedSummergreen', 'BetulaSp', 'Temperate', 6, 'y'], |
---|
52 | ['Europe', 'TemperateBroadLeavedSummergreen', 'FagusSylvatica', 'Temperate', 6, 'y'], |
---|
53 | ['Europe', 'TemperateBroadLeavedSummergreen', 'QuercusRoburPetraea', 'Temperate', 6, 'y'], |
---|
54 | ['Europe', 'TemperateBroadLeavedSummergreen', 'PopulusSp', 'Temperate', 6, 'y'], |
---|
55 | ['Europe', 'TemperateBroadLeavedSummergreen', 'Residual', 'Temperate', 6, 'y'], |
---|
56 | ['Global', 'BorealNeedleleafEvergreen', 'NeedleleafEvergreen', 'Boreal', 7, 'y'], |
---|
57 | ['Europe', 'BorealNeedleleafEvergreen', 'PinusSylvestris', 'Boreal', 7, 'y'], |
---|
58 | ['Europe', 'BorealNeedleleafEvergreen', 'PiceaSp', 'Boreal', 7, 'y'], |
---|
59 | ['Global', 'BorealBroadLeavedSummergreen', 'BroadLeavedSummergreen', 'Boreal', 8, 'y'], |
---|
60 | ['Europe', 'BorealBroadLeavedSummergreen', 'BetulaSp', 'Boreal', 8, 'y'], |
---|
61 | ['Global', 'BorealNeedleleafSummergreen', 'LarixSp', 'Boreal', 9, 'y'], |
---|
62 | ['Global', 'C3Grass', 'C3Grass', 'Temperate', 10, 'n'], |
---|
63 | ['Global', 'C3Grass', 'C3Grass', 'Tropical', 10, 'n'], |
---|
64 | ['Global', 'C3Grass', 'C3Grass', 'Boreal', 10, 'n'], |
---|
65 | ['Global', 'C4Grass', 'C4Grass', 'Temperate',11, 'n'], |
---|
66 | ['Global', 'C3Agriculture', 'C3Agriculture', 'Temperate', 12, 'n'], |
---|
67 | ['Global', 'C3Agriculture', 'C3Agriculture', 'Boreal', 12, 'n'], |
---|
68 | ['Global', 'C4Agriculture', 'C4Agriculture', 'Temperate', 13, 'n']] |
---|
69 | |
---|