-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathlpjml_config.cjson
More file actions
491 lines (444 loc) · 32.5 KB
/
lpjml_config.cjson
File metadata and controls
491 lines (444 loc) · 32.5 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
/**************************************************************************************/
/** \n**/
/** l p j m l _ c o n f i g . c j s o n \n**/
/** \n**/
/** Default configuration file for LPJmL C Version 6.0.6 \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**/
/**************************************************************************************/
//#define BMGR_BROWN /* enables brown harvest of biomass grass, instead of green harvest (default) */
//#define NETCDF_INPUT /* use NetCDF files as input */
//#define NO_METHANE /* running LPJmL wihout methane and oxygen dynamics */
{ /* LPJmL configuration in JSON format */
/*===================================================================*/
/* I. Simulation description and type section */
/*===================================================================*/
#ifdef GIT_REPO
"GIT_repo" : GIT_REPO, /* name of repository will be put in by createconfig() */
#endif
#ifdef GIT_HASH
"GIT_hash" : GIT_HASH, /* hash of repository will be put in by createconfig() */
#endif
"sim_name" : "LPJmL Run", /* Simulation description */
"sim_id" : "lpjml", /* LPJML Simulation type with managed land use */
"coupled_model" : null, /* Coupled model: null (no model coupled), string (name of coupled model) */
"coupled_host" : "localhost", /* host where the coupled model is running */
"coupled_port" : 2224, /* port for socket communication */
"start_coupling": null, /* Start year of model coupling: null (start_coupling is set to firstyear if coupled_model != null), int (start year of coupling) */
"version" : "6.0", /* LPJmL version expected */
"global_attrs" : {"institution" : "Potsdam Institute for Climate Impact Research",
"contact" : "", /* name and email address */
"comment" : "" /* additional comments */
}, /* Global attributes for NetCDF output files */
"fail_on_balance" : true, /* fail on check balance error (true/false) */
"random_prec" : false, /* Random weather generator for precipitation disabled */
"radiation" : "radiation",/* type of radiation input to be used, options: "cloudiness", "radiation", "radiation_swonly", "radiation_lwdown" */
"random_seed" : 2, /* seed for random number generator */
"fire" : "fire", /* fire disturbance enabled, options: "no_fire", "fire", "spitfire", "spitfire_tmax" */
"fire_on_grassland" : false, /* enable fire on grassland for Spitfire */
"fdi" : "nesterov", /* fire danger index formulations: "wvpd" (needs humidity input data), "nesterov" */
"gsi_phenology" : true, /* enable GSI phenology */
"transp_suction_fcn" : false, /* enable new transpiration reduction function - NOT TESTED */
"with_lakes" : true, /* enable lakes (true/false) */
"extflow" : false, /* enable discharge inflow for regional runs (requires extflow_filename) */
"groundwater_irrig" : true, /* enable groundwater use for irrigation */
"anomaly" : false, /* simulation with climate anomalies (true/false) */
"with_glaciers" : false, /* simulation with ice cover for run with anomalies (true/false) */
"delta_year" : 100, /* time step in anomalies (yrs) */
#ifdef NO_METHANE
"with_methane" : false, /* simulation without methane and oxygen dynamics */
#else
"with_methane" : true, /* simulation with methane and oxygen dynamics */
#endif
"time_shift" : 2000, /* CLIMBER's year zero= year 2000 */
"johansen" : true, /* enable johansen way of temp. conductivity in soils (see src/soil/soilconduct.c) */
"soilpar_option" : "no_fixed_soilpar", /* calculation of soil parameters, options "no_fixed_soilpar", "fixed_soilpar", "prescribed_soilpar" */
"soilpar_fixyear" : 1900, /* year to fix soilpars for soilpar_option fixed_soilpar */
"with_nitrogen" : "lim", /* options: "lim", "unlim" */
"store_climate" : true, /* store climate data in spin-up phase */
"landfrac_from_file" : true, /* read cell area from file (true/false) */
"shuffle_spinup_climate" : true, /* shuffle spinup climate and/or climate in fix_climate run */
"fix_climate" : false, /* enable a fixed climate input period, requires fix_climate_interval, fix_climate_year, fix_climate_shuffle */
"fix_climate_year" : 1901, /* year after climate is fixed */
"fix_climate_interval" : [1901,1930],
"fix_climate_shuffle" : true, /* randomly shuffle climate in the interval */
"fix_deposition_with_climate" : false, /* fix N deposition same as climate */
"fix_deposition" : false, /* fix N deposition after specified year */
"fix_deposition_year" : 1901, /* year after deposition is fixed */
"fix_deposition_interval" : [1901,1930],
"fix_deposition_shuffle" : true, /* randomly shuffle depositions in the interval */
"fix_landuse" : false, /* fix landuse after fix_landuse_year; different than landuse = const - where all years are the same */
"fix_landuse_year" : 1901, /* year after land use is fixed */
"fix_co2" : false, /* fix atmospheric CO2 after specfied year */
"fix_co2_year" : 1901, /* year after CO2 is fixed */
#ifdef FROM_RESTART
"methane" : "prescribed", /* methane fixed, other values: "fixed", "prescribed", "dynamic" */
"new_seed" : false, /* read random seed from restart file */
"population" : "number", /* use population input (for spitfire), other values: "no", "density", "number" */
"landuse" : "yes", /* landuse setting; options: "no", "yes", "const", "all_crops", "only_crops" */
"landuse_year_const" : 2100, /* set landuse year for "const" and "only_crops" cases */
"reservoir" : true, /* enables reservoirs (changes discharge and allows for irrigation water source), requires river_routing=true and elevation and reservoir input files */
"wateruse" : "all", /* HIL water withdrawals and return flows, requires wateruse input, options: "no", "yes" (only for years prescribed in input), "all" (use first year for years before and last year of input for years after period prescibed in input file) */
"equilsoil" : false, /* enables soil equilibration (natural vegetation spinup) */
"river_routing" : true, /* enable river routing (requires input matching grid and lakes/reservoirs) */
#else
"methane" : "fixed", /* methane value prescribed, other values: "fixed", "prescribed", "dynamic" */
"equilsoil" : true, /* enables soil equilibration (natural vegetation spinup) */
"population" : "no", /* use population input (for spitfire) */
"landuse" : "no", /* landuse setting; options: "no", "yes", "const", "all_crops", "only_crops" */
"reservoir" : false, /* enables reservoirs (changes discharge and allows for irrigation water source), requires river_routing=true and elevation and reservoir input files */
"wateruse" : "no", /* HIL water withdrawals and return flows, requires wateruse input, options: "no", "yes" (only for years prescribed in input), "all" (use first year for years before and last year of input for years after period prescibed in input file) */
"river_routing" : false, /* enable river routing (requires input matching grid and lakes/reservoirs) */
#endif
"cultivation_types" : ["none","biomass","annual crop"], /* cultivation types to read from pft.cjson. Cultivations types are "none" (natural PFTs), "biomass" (bioenergy PFTs), "wp" (wood plantation PFTs), "annual tree" (agriculture tree PFTs) and "annual crop" (CFTs)*/
"prescribe_burntarea" : false, /* prescribe burned area on nat vegetation (for spitfire) */
"prescribe_landcover" : "no_landcover", /* prescribe natural veg composition, options: "no_landcover", "landcoverfpc" (FPC), "landcoverest" (establishment) */
"sowing_date_option" : "prescribed_sdate", /* options: "no_fixed_sdate","fixed_sdate","prescribed_sdate","prescribed_all_rainfed_sdate","prescribed_all_irrig_sdate" */
"sdate_fixyear" : 1970, /* year in which sowing dates shall be fixed, when using fixed_sdate */
"intercrop" : true, /* enables intercrops on setaside */
"residue_treatment" : "read_residue_data", /* residue options: "read_residue_data" (requires input dataset on fraction to remain on field), "no_residue_remove" (all non-harvested plant components to litter), "fixed_residue_remove" (fraction of non-harvested above ground biomass to remain in soil according to param residues_in_soil) */
"residues_fire" : false, /* enables burning of residuals on cropland - non-functional? */
"irrigation" : "lim", /* options: "no", "lim", "pot", "all" */
"laimax_manage" : "laimax_par", /* laimax settings, options: "laimax_par" (values from pft.cjson), "laimax_cft" (values from manage_irrig_*.cjson), "laimax_const" (constant values set in flag laimax) */
"laimax" : 5, /* maximum LAI for laimax_manage = "laimax_const" */
"tillage_type" : "read", /* Options: "all" (all agr. cells tilled), "no" (no cells tilled) and "read" (tillage dataset used) */
"no_ndeposition" : false, /* turn off atmospheric N deposition */
"rw_manage" : false, /* enable rain water management; specific parameters in lpjparam.cjson */
"fertilizer_input" : "yes", /* fertilizer input setting, options: "no" (crops only depend on N in soils and from deposition), "yes", "auto" (applies exact N demand required by managed vegetation directly to plants - removes any N stress) */
"manure_input" : true, /* enable manure input */
"fix_fertilization" : false, /* fertilizer and manure input setting, options: "false" (prescribed time/cell/cft specific input), "true" (global constant rates from lpjmlparam.cjson) */
"others_to_crop" : true, /* true: cultivate others as a separate stand of cft according to setting "cft_temp"/"cft_trop"; false: simulate others as grassland with setting "grazing_others" */
"cft_temp" : "temperate cereals", /* cft name (see pft.cjson) to simulate others in temperate regions (abs(lat)>30 deg), if others_to_crop is true */
"cft_tropic" : "maize", /* cft name (see pft.cjson) to simulate others in tropical regions (abs(lat)<30 deg), if others_to_crop is true */
"grazing_others" : "default", /* default grazing type for others, options : "default", "mowing", "ext", "int", "livestock", "none" */
"grazing" : "livestock", /* default grazing type, options : "default", "mowing", "ext", "int", "livestock", "none" */
"grassonly" : false, /* set all cropland including others to zero but keep managed grasslands */
"luc_timber" : true, /* true: extract timber carbon (timber_harvest output) if natural vegetation is cleared for managed land, false: carbon is put in litter */
"grass_harvest_options" : false, /* true: grid-specific grassland management, requires input file; false: default management (setting "grazing") everywhere */
"prescribe_lsuha" : true, /* prescribe livestock unit per hectare, input required (needed for "grazing" = "livestock") */
"mowing_days" : [152, 335], /* Mowing days (day-of-year) for grassland if "grazing" = "mowing" */
"crop_resp_fix" : true, /* C:N ratio setting affecting crop respiration - options: true (fixed - avoids yield reductions at high n inputs); false (variable/dynamic) */
"crop_phu_option" : "prescribed", /* defines setting for phenological heat unit and vernalization requirements for crops; options: "bondeau2017" (i.e. based on Bondeau et al. 2007 vernalization), "vbussel2015" (i.e. based on van Bussel et al. 2015 vernalization), "prescribed", "prescribed_all_rainfed", "prescribed_all_irrig" */
"separate_harvests" : true, /* true: enables outputs for second growing season (e.g. harvest2.bin; sdate2.bin - have to be explicitly added to outputs); false: crop specific outputs over all growing seasons are added up/overwritten - caution: this interplays with the setting "grid_scaled" */
"npp_controlled_bnf" : true, /* enable npp controlled bnf based on Ma et al. 2022, alternatively old Cleveland et al. 1999*/
"percolation_heattransfer" : true, /* enable heat transfer by percolation of water through the soil */
"natNBP_only" : false, /* writes out nat NBP only */
/*===================================================================*/
/* II. Input parameter section */
/*===================================================================*/
/* LPJmL parameter file */
"param" :
#include "par/lpjparam.cjson"
,
/* Soil parameter file */
"soilpar" :
#include "par/soil.cjson"
,
"hydropar" :
#include "par/hydro.cjson"
,
/* PFT parameter file*/
"pftpar" :
#include "par/pft.cjson"
,
/* Management parameter file */
"countrypar" :
#include "par/manage_irrig_systems_with_dummy_laimax_data.cjson"
,
/*===================================================================*/
/* II. Mapping section */
/*===================================================================*/
/* the following array describes the order of the CFTs in the laimax array */
"laimaxmap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane"],
/* the following array describes the order of the agricultural trees in the k_est array */
"treemap" : ["oil palm","tea","cotton"],
/* The following array is used for mapping prescribed FPC */
"landcovermap" : ["tropical broadleaved evergreen tree", "tropical broadleaved raingreen tree",
"temperate needleleaved evergreen tree", "temperate broadleaved evergreen tree",
"temperate broadleaved summergreen tree", "boreal needleleaved evergreen tree",
"boreal broadleaved summergreen tree", "boreal needleleaved summergreen tree",
"Tropical C4 grass", "Temperate C3 grass", "Polar C3 grass"],
/* The following maps will override the maps defined in the JSON input files if enabled */
#if 0
/* the following array describes the order of the bands in the land use file */
"landusemap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane","others","grassland","biomass grass","biomass tree"],
/* the following array describes the order of the bands in the fertilizer file */
"fertilizermap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane","others","grassland","biomass grass","biomass tree"],
/* the following array describes the order of the bands in the manure file */
"manuremap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane","others","grassland","biomass grass","biomass tree"],
"sdatemap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane"],
"residuemap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane"],
"cropphumap" : ["temperate cereals","rice", "maize", "tropical cereals", "pulses",
"temperate roots", "tropical roots", "oil crops sunflower",
"oil crops soybean", "oil crops groundnut", "oil crops rapeseed",
"sugarcane"],
#endif
/*===================================================================*/
/* III. Input data section */
/*===================================================================*/
"inpath" : "/p/projects/lpjml/inputs/public_standard",
/* Input files */
"input" :
#ifdef NETCDF_INPUT
#include "input_netcdf.cjson"
#else
#include "input.cjson"
#endif
,
/*===================================================================*/
/* IV. Output data section */
/*===================================================================*/
/* all available output variables and their definition */
"outputvar" :
#include "par/outputvars.cjson"
,
/* Definition of missing values and axis names in NetCDF files */
"netcdf_config" :
#include "par/netcdf.cjson"
,
/* output data settings */
"outpath" : null, /* Default path to output files or null */
"output_metafile" : true, /* json metafile created (true/false) */
"default_fmt" : "raw", /* default format for output files: "raw","txt","cdf","clm","sock" */
"default_suffix" : ".bin", /* default file suffix for output files */
"grid_type" : "short", /* set datatype of grid file ("short", "float", "double") */
"flush_output" : false, /* flush output to file every time step */
"absyear" : false, /* absolute years instead of years relative to baseyear (true/false) */
"rev_lat" : false, /* reverse order of latitudes in NetCDF output (true/false) */
"with_days" : true, /* use days as units for output in NetCDF files */
"nofill" : false, /* do not fill NetCDF files at creation (true/false) */
"global_netcdf" : false, /* use global grid for NetCDF files (true/false) */
"netcdf4" : false, /* NetCDF files are in NetCDF4 format (true/false) */
"compress" : 0, /* compression level (1-9, 0= no compression) */
"compress_cmd" : "gzip -f", /* command for compression of output files */
"compress_suffix" : ".gz", /* file suffix for compressed output files */
"json_suffix" : ".json", /* file suffix for JSON metafiles */
"csv_delimit" : ",", /* delimiter for CSV files */
#ifdef WITH_GRIDBASED
"grid_scaled" : true, /* PFT-specific outputs scaled by stand->frac */
#define SUFFIX grid.bin
#else
"grid_scaled" : false,
#define SUFFIX pft.bin
#endif
#define mkstr(s) xstr(s) /* putting string in quotation marks */
#define xstr(s) #s
#ifdef FROM_RESTART
"json_config_filename" : "output/lpjml_config_restart.json", /* Filename of preprocessed configuration file written or null to disable this feature */
"output" :
[
/*
ID Fmt filename
-------------------------------- ------------------------- ----------------------------- */
{ "id" : "grid", "file" : { "fmt" : "raw", "name" : "output/grid.bin" }},
{ "id" : "globalflux", "file" : { "fmt" : "txt", "name" : "output/globalflux.csv"}},
{ "id" : "terr_area", "file" : { "name" : "output/terr_area" }},
{ "id" : "land_area", "file" : { "name" : "output/land_area" }},
{ "id" : "lake_area", "file" : { "name" : "output/lake_area" }},
{ "id" : "fpc", "file" : { "name" : "output/fpc"}},
{ "id" : "wpc", "file" : { "name" : "output/wpc"}},
{ "id" : "albedo", "file" : { "name" : "output/malbedo"}},
{ "id" : "npp", "file" : { "name" : "output/mnpp"}},
{ "id" : "gpp", "file" : { "name" : "output/mgpp"}},
{ "id" : "nbp", "file" : { "name" : "output/anbp"}},
{ "id" : "rh", "file" : { "name" : "output/mrh"}},
{ "id" : "ra", "file" : { "name" : "output/mra"}},
{ "id" : "transp", "file" : { "name" : "output/mtransp"}},
{ "id" : "temp", "file" : { "name" : "output/tas"}},
{ "id" : "prec", "file" : { "name" : "output/pr"}},
{ "id" : "runoff", "file" : { "name" : "output/mrunoff"}},
{ "id" : "evap", "file" : { "name" : "output/mevap"}},
{ "id" : "interc", "file" : { "name" : "output/minterc"}},
{ "id" : "swc1", "file" : { "name" : "output/mswc1"}},
{ "id" : "swc2", "file" : { "name" : "output/mswc2"}},
{ "id" : "vegc", "file" : { "name" : "output/vegc"}},
{ "id" : "soilc", "file" : { "name" : "output/soilc"}},
{ "id" : "soilc_1m", "file" : { "name" : "output/soilc_1m"}},
{ "id" : "litc", "file" : { "name" : "output/litc"}},
{ "id" : "flux_estabc", "file" : { "name" : "output/flux_estab"}},
{ "id" : "pft_vegc", "file" : { "name" : "output/pft_vegc"}},
{ "id" : "pft_npp", "file" : { "name" : "output/pft_npp"}},
{ "id" : "vegn", "file" : { "name" : "output/vegn"}},
{ "id" : "soiln", "file" : { "name" : "output/soiln"}},
{ "id" : "litn", "file" : { "name" : "output/litn"}},
{ "id" : "soiln_layer", "file" : { "name" : "output/soiln_layer"}},
{ "id" : "soilno3_layer", "file" : { "name" : "output/soilno3_layer"}},
{ "id" : "soilnh4_layer", "file" : { "name" : "output/soilnh4_layer"}},
{ "id" : "soiln_slow", "file" : { "name" : "output/soiln_slow"}},
{ "id" : "soilnh4", "file" : { "name" : "output/soilnh4"}},
{ "id" : "soilno3", "file" : { "name" : "output/soilno3"}},
{ "id" : "bnf", "file" : { "name" : "output/mbnf"}},
{ "id" : "leaching", "file" : { "name" : "output/mleaching"}},
{ "id" : "nuptake", "file" : { "name" : "output/mnuptake"}},
{ "id" : "cftfrac", "file" : { "name" : "output/cftfrac"}},
{ "id" : "pft_nuptake", "file" : { "name" : "output/pft_nuptake"}},
{ "id" : "n2o_denit", "file" : { "name" : "output/mn2o_denit"}},
{ "id" : "n2o_nit", "file" : { "name" : "output/mn2o_nit"}},
{ "id" : "n2_emis", "file" : { "name" : "output/mn2_emis"}},
{ "id" : "n_immo", "file" : { "name" : "output/mn_immo"}},
{ "id" : "pft_ndemand", "file" : { "name" : "output/pft_ndemand"}},
{ "id" : "firen", "file" : { "name" : "output/firen"}},
{ "id" : "n_mineralization", "file" : { "name" : "output/mn_mineralization"}},
{ "id" : "n_volatilization", "file" : { "name" : "output/mn_volatilization"}},
{ "id" : "pft_nlimit", "file" : { "name" : "output/pft_nlimit"}},
{ "id" : "pft_vegn", "file" : { "name" : "output/pft_vegn"}},
{ "id" : "pft_cleaf", "file" : { "name" : "output/pft_cleaf"}},
{ "id" : "pft_nleaf", "file" : { "name" : "output/pft_nleaf"}},
{ "id" : "pft_laimax", "file" : { "name" : "output/pft_laimax"}},
{ "id" : "wtab", "file" : { "name" : "output/wtab"}},
{ "id" : "mwater", "file" : { "name" : "output/mwater"}},
{ "id" : "wetfrac", "file" : { "name" : "output/wetfrac"}},
{ "id" : "seepage", "file" : { "name" : "output/mseepage"}},
{ "id" : "runoff_surf", "file" : { "name" : "output/mrunoff_surf"}},
{ "id" : "runoff_lat", "file" : { "name" : "output/mrunoff_lat"}},
#ifdef WITH_SPITFIRE
{ "id" : "firec", "file" : { "timestep" : "monthly", "unit" : "gC/m2/month", "name" : "output/mfirec"}},
{ "id" : "nfire", "file" : { "name" : "output/mnfire"}},
{ "id" : "burntarea", "file" : { "name" : "output/mburnt_area"}},
#else
{ "id" : "firec", "file" : { "name" : "output/firec"}},
#endif
{ "id" : "discharge", "file" : { "name" : "output/mdischarge"}},
{ "id" : "harvestc", "file" : { "name" : "output/flux_harvest"}},
{ "id" : "pft_harvestc", "file" : { "name" : mkstr(output/pft_harvest.SUFFIX)}},
{ "id" : "pet", "file" : { "timestep" : "monthly", "name" : "output/mpet"}},
{ "id" : "maxthaw_depth", "file" : { "name" : "output/maxthaw_depth"}},
{ "id" : "soiltemp1", "file" : { "name" : "output/soiltemp1"}},
{ "id" : "soiltemp2", "file" : { "name" : "output/soiltemp2"}},
{ "id" : "soiltemp3", "file" : { "name" : "output/soiltemp3"}},
{ "id" : "soilc_layer", "file" : { "name" : "output/soilc_layer"}},
{ "id" : "agb", "file" : { "name" : "output/agb"}},
{ "id" : "agb_tree", "file" : { "name" : "output/agb_tree"}},
{ "id" : "soilc_slow", "file" : { "name" : "output/soilc_slow"}},
#ifndef NO_METHANE
{ "id" : "ch4_ebullition", "file" : { "name" : "output/ch4_ebullition"}},
{ "id" : "ch4_plant_gas", "file" : { "name" : "output/ch4_plant_gas"}},
{ "id" : "ch4_emissions", "file" : { "name" : "output/ch4_emissions"}},
{ "id" : "ch4_emissions_wet","file" : { "name" : "output/ch4_emissions_wet"}},
{ "id" : "ch4_oxidation", "file" : { "name" : "output/ch4_oxidation"}},
{ "id" : "methanogenesis", "file" : { "name" : "output/methanogenesis"}},
{ "id" : "ch4_litter", "file" : { "name" : "output/ch4_litter"}},
{ "id" : "ch4_sink", "file" : { "name" : "output/ch4_sink"}},
{ "id" : "ch4_rice_em", "file" : { "name" : "output/ch4_rice_em"}},
{ "id" : "ch4_agr", "file" : { "name" : "output/ch4_agr"}},
{ "id" : "ch4_grassland", "file" : { "name" : "output/ch4_grassland"}},
{ "id" : "meansoilo2", "file" : { "name" : "output/meansoilo2"}},
{ "id" : "meansoilch4", "file" : { "name" : "output/meansoilch4"}},
#endif
{ "id" : "gw_storage", "file" : { "name" : "output/gw_store"}},
{ "id" : "gw_outflux", "file" : { "name" : "output/gw_outflux"}},
{ "id" : "napplied_mg", "file" : { "name" : "output/napplied_mg"}},
{ "id" : "bnf_mg", "file" : { "name" : "output/bnf_mg"}},
{ "id" : "flux_estabn_mg", "file" : { "name" : "output/flux_estabn_mg"}},
{ "id" : "harvestn", "file" : { "name" : "output/harvestn"}},
{ "id" : "ndepo_mg", "file" : { "name" : "output/ndepo_mg"}},
{ "id" : "rootmoist", "file" : { "name" : "output/rootmoist"}},
{ "id" : "irrig", "file" : { "name" : "output/irrig"}},
{ "id" : "nleaching_agr", "file" : { "name" : "output/nleaching_agr"}},
{ "id" : "nmanure_agr", "file" : { "name" : "output/nmanure_agr"}},
{ "id" : "nfert_agr", "file" : { "name" : "output/nfert_agr"}},
{ "id" : "ndepo_agr", "file" : { "name" : "output/ndepo_agr"}},
{ "id" : "bnf_agr", "file" : { "name" : "output/bnf_agr"}},
{ "id" : "seedn_agr", "file" : { "name" : "output/seedn_agr"}},
{ "id" : "pft_harvestn", "file" : { "name" : "output/pft_harvestn"}},
{ "id" : "pft_lai", "file" : { "name" : "output/pft_lai"}},
{ "id" : "timber_harvestc", "file" : { "name" : "output/timber_harvestc"}},
{ "id" : "wateruse_hil", "file" : { "name" : "output/wateruse_hil"}},
{ "id" : "n2o_nit_agr", "file" : { "name" : "output/n2o_nit_agr"}},
{ "id" : "n2o_denit_agr", "file" : { "name" : "output/n2o_denit_agr"}},
{ "id" : "n2_agr", "file" : { "name" : "output/n2_agr"}},
{ "id" : "nh3_agr", "file" : { "name" : "output/nh3_agr"}},
{ "id" : "harvestn_agr", "file" : { "name" : "output/harvestn_agr"}},
{ "id" : "nmineralization_agr", "file" : { "name" : "output/nmineralization_agr"}},
{ "id" : "nimmobilization_agr", "file" : { "name" : "output/nimmobilization_agr"}},
{ "id" : "nuptake_agr", "file" : { "name" : "output/nuptake_agr"}},
{ "id" : "litfalln_agr", "file" : { "name" : "output/litfalln_agr"}},
{ "id" : "pft_rharvestn", "file" : { "name" : "output/pft_rharvestn"}},
{ "id" : "tws", "file" : { "name" : "output/mtws"}},
{ "id" : "rd", "file" : { "name" : "output/mrd"}},
{ "id" : "firef", "file" : { "name" : "output/mfiref"}},
{ "id" : "swc", "file" : { "name" : "output/mswc"}},
{ "id" : "swe", "file" : { "name" : "output/mswe"}},
{ "id" : "res_storage", "file" : { "name" : "output/mres_storage"}},
{ "id" : "irrig_stor", "file" : { "name" : "output/mirrig_stor"}},
{ "id" : "rivervol", "file" : { "name" : "output/mrivervol"}},
{ "id" : "lakevol", "file" : { "name" : "output/mlakevol"}},
{ "id" : "ndepos", "file" : { "name" : "output/mndepos"}},
{ "id" : "pft_rharvestc", "file" : { "name" : "output/pft_rharvestc"}},
{ "id" : "pft_bnf", "file" : { "name" : "output/pft_bnf"}},
{ "id" : "uptakec_mgrass", "file" : { "name" : "output/uptakec_mgrass"}},
{ "id" : "mgrass_litc", "file" : { "name" : "output/mgrass_litc"}},
{ "id" : "mgrass_soilc", "file" : { "name" : "output/mgrass_soilc"}}
/*------------------------------ ------------------------- ------------------------------- */
],
#else
"json_config_filename" : "output/lpjml_config_spinup.json", /* Filename of preprocessed configuration file written or null to disable this feature */
"output" :
[
{ "id" : "globalflux", "file" : { "fmt" : "txt", "name" : "output/globalflux_spinup.csv"}}
],
#endif
/*===================================================================*/
/* V. Run settings section */
/*===================================================================*/
"startgrid" : "all", /* 27410, 67208 60400 47284 47293 47277 all grid cells */
"endgrid" : "all",
#ifdef CHECKPOINT
"checkpoint_filename" : "restart/restart_checkpoint.lpj", /* filename of checkpoint file */
#endif
#ifdef FROM_RESTART
"nspinup" : 420, /* spinup years */
"nspinyear" : 30, /* cycle length during spinup (yr)*/
"firstyear": 1901, /* first year of simulation */
"lastyear" : 2019, /* last year of simulation */
"outputyear": 1901, /* first year output is written */
"baseyear": 1901, /* base year for output */
"restart" : true, /* start from restart file */
"restart_filename" : "restart/restart_1700_nv_stdfire.lpj", /* filename of restart file */
"write_restart" : true, /* create restart file */
"write_restart_filename" : "restart/restart_1900_crop_stdfire.lpj", /* filename of restart file written */
"restart_year": 1900 /* write restart at year */
#else
/* first spinup */
"nspinup" : 3799, /* spinup years */
"nspinyear" : 30, /* cycle length during spinup (yr) */
"firstyear": 1700, /* first year of simulation */
"lastyear" : 1700, /* last year of simulation */
"restart" : false, /* start from restart file */
"outputyear" : -2099,
"write_restart" : true, /* create restart file at year defined in "restart_year" */
"write_restart_filename" : "restart/restart_1700_nv_stdfire.lpj", /* filename of restart file written */
"restart_year": 1700 /* write restart at year */
#endif
}