#
#**************************************************************************
#                    Namelist for STOMATE
#**************************************************************************
#
#**************************************************************************
#          OPTIONS NOT SET
#**************************************************************************
#
#
#**************************************************************************
#          Management of display in the run of STOMATE
#**************************************************************************

# Model chatting level
# level of online diagnostics in STOMATE (0-4)
# With this variable, you can determine how much online information STOMATE
#  gives during the run. 0 means virtually no info.
BAVARD = 1
# default = 1

#**************************************************************************
#          Files : incoming / forcing / restart /output
#**************************************************************************
# Ancillary files :
#---------------------------------------------------------------------


# Name of file from which the reference
# The name of the file to be opened to read
#  temperature is read
#  the reference surface temperature.
#  The data from this file is then interpolated
#  to the grid of the model.
#  The aim is to get a reference temperature either
#  to initialize the corresponding prognostic model
#  variable correctly (ok_dgvm = TRUE) or to impose it
#  as boundary condition (ok_dgvm = FALSE)
REFTEMP_FILE = reftemp.nc
# default = reftemp.nc
# Input and output restart file for STOMATE :
#---------------------------------------------------------------------

# Name of restart to READ for initial conditions of STOMATE
# If STOMATE_OK_STOMATE || STOMATE_WATCHOUT
# This is the name of the file which will be opened of STOMATE
#   to extract the initial values of all prognostic values of STOMATE.
STOMATE_RESTART_FILEIN = NONE
# default = NONE

# Name of restart files to be created by STOMATE
# If STOMATE_OK_STOMATE || STOMATE_WATCHOUT
# This is the name of the file which will be opened
#        to write the final values of all prognostic values
#        of STOMATE.
STOMATE_RESTART_FILEOUT = stomate_rest_out.nc
# default = stomate_restart.nc

# Forcing files for TESTSTOMATE and FORCESOIL
#---------------------------------------------------------------------

# Name of STOMATE's forcing file
# Name that will be given to STOMATE's offline forcing file
STOMATE_FORCING_NAME = stomate_forcing.nc
#default = NONE

# Size of STOMATE forcing data in memory (MB)
# This variable determines how many
#  forcing states will be kept in memory.
#  Must be a compromise between memory
#  use and frequeny of disk access.
STOMATE_FORCING_MEMSIZE = 50
# default = 50

# Name of STOMATE's carbon forcing file
# Name that will be given to STOMATE's carbon offline forcing file
STOMATE_CFORCING_NAME = stomate_Cforcing.nc
# default = NONE


# Produced forcing file name :
#---------------------------------------------------------------------
# STOMATE does minimum service
# set to TRUE if you want STOMATE to read
#  and write its start files and keep track
#  of longer-term biometeorological variables.
#  This is useful if OK_STOMATE is not set,
#  but if you intend to activate STOMATE later.
#  In that case, this run can serve as a 
#  spinup for longer-term biometeorological
#  variables.
STOMATE_WATCHOUT = n
# default = n


# Output file name :
#---------------------------------------------------------------------

# Name of file in which STOMATE's output is going to be written
# This file is going to be created by the model
#  and will contain the output from the model.
#  This file is a truly COADS compliant netCDF file.
#  It will be generated by the hist software from
#  the IOIPSL package.
STOMATE_OUTPUT_FILE = stomate_history.nc
# default = stomate_history.nc

# Write levels for outputs files (number of variables) :
#---------------------------------------------------------------------

# STOMATE history output level (0..10)
#  0: nothing is written; 10: everything is written
STOMATE_HISTLEVEL = 10
# default = 10

# STOMATE_IPCC_OUTPUT_FILE
# This file is going to be created by the model
#    and will contain the output from the model.
#    This file is a truly COADS compliant netCDF file.
#    It will be generated by the hist software from
#    the IOIPSL package.
# Name of file in which STOMATE's output is going
# to be written
STOMATE_IPCC_OUTPUT_FILE = stomate_ipcc_history.nc
# default = stomate_ipcc_history.nc

# STOMATE_IPCC_HIST_DT
# Time step of the STOMATE IPCC history file
# STOMATE IPCC history time step (d)
STOMATE_IPCC_HIST_DT = 0.
# default = 0.

# Write frequency for output files (STOMATE in days) :
#---------------------------------------------------------------------

# STOMATE history time step (d)
# Time step of the STOMATE history file
# Care : this variable must be higher than DT_SLOW
STOMATE_HIST_DT = 10.
# default = 10.

#---------------------------------------------------------------------
# FORCESOIL CARBON spin up parametrization
#---------------------------------------------------------------------

# Number of time steps per year for carbon spinup.
FORCESOIL_STEP_PER_YEAR = 12
# default = 12

# Number of years saved for carbon spinup.
FORCESOIL_NB_YEAR = 1
# default = 1

#---------------------------------------------------------------------
# Parametrization :
#---------------------------------------------------------------------

# Activate STOMATE?
# set to TRUE if STOMATE is to be activated
STOMATE_OK_STOMATE = n
# default = n

# Activate DGVM?
# set to TRUE if Dynamic Vegetation DGVM is to be activated
STOMATE_OK_DGVM = n
# default = n

# Index of grid point for online diagnostics
# This is the index of the grid point which will be used for online diagnostics.
STOMATE_DIAGPT = 1
# default = 1

# constant tree mortality
# If yes, then a constant mortality is applied to trees. 
#  Otherwise, mortality is a function of the trees' 
#  vigour (as in LPJ).
LPJ_GAP_CONST_MORT = y
# default = y

# no fire allowed
# With this variable, you can allow or not
#  the estimation of CO2 lost by fire
FIRE_DISABLE = n
# default = n

#**************************************************************************

# Harvert model for agricol PFTs.
# Compute harvest above ground biomass for agriculture.
# Change daily turnover.
HARVEST_AGRI = y
# default = y

# herbivores allowed?
# With this variable, you can activate herbivores 
HERBIVORES = n
# default = n

# treat expansion of PFTs across a grid cell?
# With this variable, you can determine
#  whether we treat expansion of PFTs across a
#  grid cell.
TREAT_EXPANSION = n
# default = n

