Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ayache Mohamed
LPJmL-Med_version1
Commits
0ef7e252
Commit
0ef7e252
authored
Dec 17, 2020
by
Ayache Mohamed
Browse files
Merge branch 'master' of gitlab.osupytheas.fr:mayache/lpjml-med_version1
parents
f59e04e5
ea876c38
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/.gitkeep
0 → 100644
View file @
0ef7e252
lpjml_nat_nophy_s2.conf
deleted
100755 → 0
View file @
f59e04e5
/*********************************************************************/
/* */
/*
l
p
j
m
l
.
c
o
n
f
*/
/* */
/*
Default
configuration
file
for
LPJmL
C
Version
3
.
5
.
003
*/
/* */
/*
Configuration
file
is
divided
into
five
sections
: */
/* */
/*
I
.
Simulation
description
and
type
section
*/
/*
II
.
Input
parameter
section
*/
/*
III
.
Input
data
section
*/
/*
IV
.
Output
data
section
*/
/*
V
.
Run
settings
section
*/
/* */
/*
Last
change
: $
Date
::
2016
-
02
-
11
11
:
10
:
20
+
0100
(
jeu
.,
11
f
é
vr
.
#$ */
/*
By
: $
Author
::
bloh
$ */
/* */
/*********************************************************************/
//
#include "../../LPJml_AgTree/include/conf.h" /* include constant definitions */
#include "/home/mayache/LPJmL/SVN_LaserMed_5mn/LPJml_AgTree/include/conf.h" /* include constant definitions */
#define WITH_NITROGEN
#define NOPHY
#define RIVER_ROUTING /*river routing enabled; exclude this line to disable river routing */
#define ISRANDOM /* random generation of daily precipitation */
#define PERMAFROST
//
#define FROM_RESTART //mayache
/*===================================================================*/
/*
I
.
Simulation
description
and
type
section
*/
/*===================================================================*/
"LPJmLN_Med"
/*
Simulation
description
*/
LPJML
/*
LPJML
Simulation
type
with
managed
land
use
*/
#ifdef ISRANDOM
RANDOM_PREC
/*
Random
weather
generator
for
precipitation
enabled
*/
5
/*
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
#ifdef WITH_FIREWOOD
FIREWOOD
#ifndef WITH_LANDUSE
#define WITH_LANDUSE 1
#endif
#else
NO_FIREWOOD
#endif
#if defined(WITH_SPITFIRE) || defined(WITH_FIREWOOD)
#ifndef FROM_RESTART
NO_POPULATION
# else
POPULATION
# endif
#else
NO_POPULATION
#endif
#ifdef RIVER_ROUTING
DRAINAGE
#else
NO_DRAINAGE
#endif
#ifdef PERMAFROST
PERM
#else
NO_PERM
#endif
#ifdef WITH_LANDUSE
#if WITH_LANDUSE == CONST_LANDUSE
CONST_LANDUSE
#elif WITH_LANDUSE == ALL_CROPS
ALL_CROPS
#else
LANDUSE
#endif
#if defined(FIX_SDATES)
FIXED_SDATE
#elif defined(READ_SDATES)
PRESCRIBED_SDATE
#else
NO_FIXED_SDATE
#endif
IRRIGATION
#ifdef WITH_RWMANAGEMENT
RWMANAGEMENT
#else
NO_RWMANAGEMENT
#endif
#ifdef BENCHMARK_LAI
CONST_LAI_MAX
#undef WITH_LAIMAX_CFT
#else
#ifdef WITH_LAIMAX_CFT
LAIMAX_CFT
/*
laimax
values
from
manage
parameter
file
*/
#else
LAIMAX_INTERPOLATE
#endif
#endif
#ifdef RIVER_ROUTING
#ifdef WITH_RESERVOIRS
RESERVOIR
#else
NO_RESERVOIR
#endif
#endif
#ifdef WITH_FIXED_GRASS_PFT
GRASS_FIXED_PFT
#else
NO_GRASS_FIXED_PFT
#endif
#ifdef WITH_GRASS_SCENARIOS
GRASS_HARVEST_OPTIONS
#else
NO_GRASS_HARVEST_OPTIONS
#endif
#else
NO_LANDUSE
#endif
#if defined(WITH_WATERUSE) && defined(WITH_LANDUSE)
WATERUSE
#else
NO_WATERUSE
#endif
/*===================================================================*/
/*
II
.
Input
parameter
section
*/
/*===================================================================*/
#include "/home/mayache/LPJmL/SVN_LaserMed_5mn/SVN_config/Ebro_config/param.conf" /* Input parameter file */
/*===================================================================*/
/*
III
.
Input
data
section
*/
/*===================================================================*/
#include "/home/mayache/LPJmL/SVN_LaserMed_5mn/SVN_config/Ebro_config/input.conf" /* Input files of CRU dataset */
#if defined(WITH_WATERUSE) && defined(WITH_LANDUSE)
CLM2
home
/
abondeau
/
Medit_config
/
input
/
wateruse_1900_2000
.
bin
/*
water
consumption
for
industry
,
household
and
livestock
*/
#endif
/*===================================================================*/
/*
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
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
grid
.
bin
FPC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
fpc
.
bin
MNPP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mnpp
.
bin
MGPP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mgpp
.
bin
MRH
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mrh
.
bin
MFPAR
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mfpar
.
bin
MTRANSP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mtransp
.
bin
MRUNOFF
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mrunoff
.
bin
MEVAP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mevap
.
bin
MINTERC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
minterc
.
bin
MSWC1
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mswc1
.
bin
MSWC2
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mswc2
.
bin
FIREC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
firec
.
bin
FIREF
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
firef
.
bin
VEGC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
vegc
.
bin
SOILC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
soilc
.
bin
LITC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
litc
.
bin
FLUX_ESTAB
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
flux_estab
.
bin
#ifdef WITH_SPITFIRE
MFIREC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mfirec
.
bin
MNFIRE
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mnfire
.
bin
MBURNTAREA
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mburnt_area
.
bin
#endif
#ifdef RIVER_ROUTING
MDISCHARGE
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mdischarge
.
bin
MWATERAMOUNT
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
mwateramount
.
bin
#endif
#ifdef WITH_LANDUSE
HARVEST
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
flux_harvest
.
bin
SDATE
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
sdate
.
bin
PFT_HARVEST
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
pft_harvest
.
SUFFIX
CFTFRAC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
cftfrac
.
bin
#endif
/*
MNO3_DIS
RAW
output
/
nat_nophy
/
mno3_dis
.
bin
MPO4_DIS
RAW
output
/
nat_nophy
/
mpo4_dis
.
bin
MNH4_DIS
RAW
output
/
nat_nophy
/
mnh4_dis
.
bin
MRESN_SOIL
RAW
output
/
nat_nophy
/
mresn_soil
.
bin
MRESC_SOIL
RAW
output
/
nat_nophy
/
mresc_soil
.
bin
MRESP_SOIL
RAW
output
/
nat_nophy
/
mresp_soil
.
bin
MNO3_SOIL
RAW
output
/
nat_nophy
/
mno3_soil
.
bin
MNH4_SOIL
RAW
output
/
nat_nophy
/
mnh4_soil
.
bin
MPO4_SOIL
RAW
output
/
nat_nophy
/
mpo4_soil
.
bin
MNO3_LAKE
RAW
output
/
nat_nophy
/
mno3_lake
.
bin
MNH4_LAKE
RAW
output
/
nat_nophy
/
mnh4_lake
.
bin
MPO4_LAKE
RAW
output
/
nat_nophy
/
mpo4_lake
.
bin
MDECC_SOIL
RAW
output
/
nat_nophy
/
mdecc_soil
.
bin
MUPTRESDIFF
RAW
output
/
nat_nophy
/
muptresdiff
.
bin
*/
#ifdef DAILY_OUTPUT
D_NPP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_npp
.
bin
D_GPP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_gpp
.
bin
D_RH
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_rh
.
bin
D_TRANS
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_trans
.
bin
D_INTERC
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_interc
.
bin
D_EVAP
RAW
/
home
/
mayache
/
LPJmL
/
SVN_LaserMed_5mn
/
SVN_config
/
Ebro_config
/
output
/
nat_nophy
/
d_evap
.
bin
#endif
//
endif
/*----------------- --- ------------------------------- */
END
#ifdef DAILY_OUTPUT
TEMPERATE_CEREALS
/*
CFT
for
daily
output
*/
DAILY_RAINFED
/*
irrigation
flag
for
daily
output
*/
#endif
//
#endif
/*===================================================================*/
/*
V
.
Run
settings
section
*/
/*===================================================================*/
ALL
#ifndef FROM_RESTART
/*
Caution
:
first
grid
cell
is
0
! */
/*
1303
*/ /*
mono
grid
cell
start
*/
/*
1303
*/ /*
mono
grid
cell
end
*/
/*/*
ALL
/*
27410
67208
60400
all
grid
cells
*/
500
/*
spinupNoR
*/
/*
exclude
next
line
in
case
of
0
spinup
years
*/
30
/*
cycleNoR
*/
1901
/*
startyearNoR
*/
1901
/*
endyearNoR
*/
NO_RESTART
/*
do
not
start
from
restart
file
*/
RESTART
/*
create
restart
file
:
the
last
year
of
simulation
=
restart
-
year
*/
restart
/
restart_code141201_Glo_y1860_NatVeg_5000y_luse
.
ts
.
3
.
22
.
lpj
/*
writeNoR
*/
1901
/*
restartendNoR
*/
#else
0
/*
spinupWiR
*/
/*
exclude
next
line
in
case
of
0
spinup
years
*/
/*
30
*//*
cycleWiR
*/
1901
/*
startyearWiR
*/
2013
/*
endyearWiR
*/
RESTART
/*
start
from
restart
file
*/
restart
/
restart_code141201_Glo_y1860_NatVeg_5000y_cru
.
ts
.
3
.
22
.
lpj
/*
readWiR
*/
RESTART
/*
create
restart
file
*/
restart
/
restart_code141201_Glo_y1980_NatVeg_5000y_cru
.
ts
.
3
.
22
.
lpj
/*
writeWiR
*/
1980
/*
restartendWiR
exclude
line
in
case
of
no
restart
to
be
written
*/
#endif
#include "/home/mayache/LPJmL/SVN_LaserMed_5mn/SVN_config/Ebro_config/nitrogen.conf"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment