forked from PIK-LPJmL/LPJmL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlpj.conf
More file actions
193 lines (170 loc) · 6.76 KB
/
lpj.conf
File metadata and controls
193 lines (170 loc) · 6.76 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
/**************************************************************************************/
/** \n**/
/** l p j . c o n f \n**/
/** \n**/
/** Default configuration file for LPJmL C Version 4.0.001 without land use \n**/
/** \n**/
/** Configuration file is divided into five sections: \n**/
/** \n**/
/** I. Simulation description and type section \n**/
/** II. Input parameter section \n**/
/** III. Input data section \n**/
/** IV. Output data section \n**/
/** V. Run settings section \n**/
/** \n**/
/** (C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file \n**/
/** authors, and contributors see AUTHORS file \n**/
/** This file is part of LPJmL and licensed under GNU AGPL Version 3 \n**/
/** or later. See LICENSE file or go to http://www.gnu.org/licenses/ \n**/
/** Contact: https://github.com/PIK-LPJmL/LPJmL \n**/
/** \n**/
/**************************************************************************************/
#include "include/conf.h" /* include constant definitions */
/*#define RIVER_ROUTING *//* river routing enabled; exclude this line to
disable river routing */
#define ISRANDOM /* random generation of daily precipitation */
#define WITH_GRIDBASED
#define WITH_SPITFIRE
#define USE_RADIATION
#define GSI_PHENOLOGY
/*===================================================================*/
/* I. Simulation description and type section */
/*===================================================================*/
"LPJ SPITFIRE test" /* Simulation description */
LPJ /* Simulation type with natural vegetation */
#ifdef ISRANDOM
RANDOM_PREC /* Random weather generator for precipitation enabled */
RANDOM_SEED /* seed for random number generator */
#else
INTERPOLATE_PREC
#endif
#ifdef USE_RADIATION
RADIATION
#else
CLOUDINESS
#endif
#ifdef WITH_SPITFIRE
SPITFIRE
#else
FIRE /* fire disturbance enabled */
#endif
#if defined(WITH_SPITFIRE) || defined(WITH_FIREWOOD)
# ifndef FROM_RESTART
NO_POPULATION
# else
POPULATION
# endif
#else
NO_POPULATION
#endif
#ifdef USE_BURNTAREA
PRESCRIBE_BURNTAREA
#else
NO_PRESCRIBE_BURNTAREA
#endif
#ifdef USE_LANDCOVER
LANDCOVERFPC /* LANDCOVEREST to prescribe establishment or LANDCOVERFPC to prescribe maximum FPC */
#else
NO_LANDCOVER
#endif
#ifdef GSI_PHENOLOGY
NEW_PHENOLOGY
#else
OLD_PHENOLOGY
#endif
#ifdef RIVER_ROUTING
DRAINAGE
#else
NO_DRAINAGE
#endif
#ifdef PERMAFROST
PERM
#else
NO_PERM
#endif
/*===================================================================*/
/* II. Input parameter section */
/*===================================================================*/
#include "param.conf" /* Input Parameter file */
/*===================================================================*/
/* III. Input data section */
/*===================================================================*/
#include "input_crumonthly.conf" /* Input files of CRU dataset */
/*===================================================================*/
/* IV. Output data section */
/*===================================================================*/
#ifdef WITH_GRIDBASED
GRIDBASED
#define SUFFIX grid.bin
#else
PFTBASED
#define SUFFIX pft.bin
#endif
#ifndef FROM_RESTART
END /* no output files */
#else
/*
ID fmt filename
------------------- --- ----------------------------- */
GRID RAW output/grid.bin
FPC RAW output/fpc.bin
MNPP RAW output/mnpp.bin
MRH RAW output/mrh.bin
MTRANSP RAW output/mtransp.bin
MRUNOFF RAW output/mrunoff.bin
MDISCHARGE RAW output/mdischarge.bin
MEVAP RAW output/mevap.bin
MINTERC RAW output/minterc.bin
MSWC1 RAW output/mswc1.bin
MSWC2 RAW output/mswc2.bin
FIREC RAW output/firec.bin
FIREF RAW output/firef.bin
VEGC RAW output/vegc.bin
SOILC RAW output/soilc.bin
LITC RAW output/litc.bin
PFT_NPP RAW output/pft_npp.SUFFIX
PFT_GCGP RAW output/waterstress.bin
FLUX_ESTAB RAW output/flux_estab.bin
APREC RAW output/aprec.bin
#ifdef RIVER_ROUTING
INPUT_LAKE RAW output/input_lake.bin
MEVAP_LAKE RAW output/mevap_lake.bin
ADISCHARGE RAW output/adischarge.bin
#endif
#ifdef WITH_SPITFIRE
MFIREC RAW output/mfirec.bin
MNFIRE RAW output/mnfire.bin
MFIREDI RAW output/mfiredi.bin
MFIREEMISSION RAW output/mfire_emission.bin
#endif /*
------------------- --- ------------------------------- */
END
#endif
/*===================================================================*/
/* V. Run settings section */
/*===================================================================*/
ALL /* all grid cells */
#ifndef FROM_RESTART
5000 /* spinup years */
/* exclude next line in case of 0 spinup years */
30 /* cycle length during spinup (yr) */
1901 /* first year of simulation */
1901 /* last year of simulation */
NO_RESTART /* do not start from restart file */
RESTART /* create restart file: the last year of simulation=restart-year */
restart/restart.lpj /* filename of restart file */
1900 /* write restart at year; exclude line in case of no restart to
be written */
#else
0 /* no spinup years */
/* exclude next line in case of 0 spinup years */
/*30 cycle length during spinup (yr) */
1901 /* first year of simulation */
2009 /* last year of simulation */
RESTART /* start from restart file */
restart/restart.lpj /* filename of restart file */
RESTART /* create restart file */
restart/restart_final.lpj /* filename of restart file */
2009 /* write restart at year; exclude line in case of no restart to
be written */
#endif