wiki:Documentation/UserGuide/TestCase1

Version 7 (modified by mmcgrath, 10 years ago) (diff)

--

How to run a simple test case with ORCHIDEE

You need following files :

  • forcing_file.nc (680M)
  • PFTmap.nc (13M)
  • soils_param.nc (<1M)
  • reftemp.nc (<1M)
  • run.def
  • executable orchidee_ol

Get the input files :

wget http://dods.extra.cea.fr/work/p86ipsl/IGCM/BC/OOL/OL2/NCC/ncc_for_1982.nc forcing_file.nc
wget http://dods.extra.cea.fr/work/p86ipsl/IGCM/BC/SRF/OL2/PFTmap_1850to2005_AR5_LUHa.rc2/PFTmap_IPCC_1982.nc PFTmap.nc
wget http://dods.extra.cea.fr/work/p86ipsl/IGCM/INIT/SRF/OL2/soils_param.nc
wget http://dods.extra.cea.fr/work/p86ipsl/IGCM/BC/SRF/OL2/reftemp.nc

Save following lines into run.def :

# Simulation lenght :
TIME_LENGTH= 365D
#TIME_LENGTH=31D

# Parameters for regional run :
# LIMIT_WEST ([Degrees] ) :  Western limit of region    {[-]}
LIMIT_WEST =  -10.
# LIMIT_EAST ([Degrees] ) :  Eastern limit of region    {[-]}
LIMIT_EAST =  0.
# LIMIT_NORTH ([Degrees]) :  Northern limit of region   {[-]}
LIMIT_NORTH =  10.
# LIMIT_SOUTH ([Degrees]) :  Southern limit of region   {[-]}
LIMIT_SOUTH =  0.

# Parameters for global run :
#LIMIT_WEST = -180.
#LIMIT_EAST =  180.
#LIMIT_NORTH =  90.
#LIMIT_SOUTH = -90.

VEGET_YEAR=1

# Variables for diagnostics :
WRITE_STEP= -1.
SECHIBA_HISTLEVEL= 11
SECHIBA_HISTFILE2= y
SECHIBA_HISTLEVEL2= 1
WRITE_STEP2= 10800.0
STOMATE_OK_CO2= y
STOMATE_OK_STOMATE= y
STOMATE_HIST_DT= -1.
STOMATE_HISTLEVEL= 10
STOMATE_IPCC_HIST_DT= -1.

Once you've get all input files, launch the modele in the same directory :

./orchidee_ol > out_orchidee_ol 2>&1

Another way to do it from a run you've already finished with libIGCM is to look at the Script_* output file. Inside this file libIGCM lists all the files that it copies to the run directory (look for the commands where the commands IGCM_sys_Cp and IGCM_sys_Get appear in the Script_* file). If you copy those files manually to a new directory, you should be able to launch the exact same simulation.