runORDCAO

De Wikicima
Saltar a: navegación, buscar

Here are explained the instructions to run ORCHIDEE off-line simulations as it was prepared for the post-graduate course 'Interacció suelo-atmófera y su modelado

All the necessary files are uploaded at the ftp of the course

ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/

It has been created an specific work-flow management for the course OR1proc OR 1proc, this instructions follow the use of such work-flow

Getting work-flow

  1. Creation of a work-flow folder [oRWORKFLOW_1proc] (installOR)
mkdir installOR
  1. Going there
cd installOR
  1. Getting the files of the work-flow
wget -r -nH --cut-dirs=3 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/components

Getting forcings

Here we only will get a minimal sub-set of the available forcings, just to run a test case. Being in the folder [oRWORKFLOW_1proc]

  1. Creation of the atmospheric forcing data folder structure
mkdir -p forcings/ATMOS/CRUNCEP
  1. Getting 3 files of atmospheric forcing
cd forcings/ATMOS/CRUNCEP
wget -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/ATMOS/CRUNCEP/cruncep_halfdeg_1989.nc
wget -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/ATMOS/CRUNCEP/cruncep_halfdeg_1990.nc
wget -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/ATMOS/CRUNCEP/cruncep_halfdeg_1991.nc
  1. Going back to [oRWORKFLOW_1proc]
cd ../../../
  1. Creation of the ancillary data folder structure
mkdir -p forcings/IGCM/SRF
  1. Getting the basic ancillary data
cd forcings/IGCM/SRF
wget -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/IGCM/SRF/cartepente2d_15min.nc
wget  -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/IGCM/SRF/soils_param.nc

Running ORCHIDEE

Creation of a working directory [WORKDIR] (InteraccionSueloAtmosfera)

cd ${HOME}
mkdir InteraccionSueloAtmosfera
cd InteraccionSueloAtmosfera
  1. Creation of a test folder
mkdir test
cd test
  1. copying the configuration file and linkning the running script
cp ~/installOR/components/shell/or_1-proc.config ./
ln ~/installOR/components/shell/run_multi-or_1proc.bash ./
  1. Editting the configuration file. It should look like:
# scratch
scratch = false

# Period
period=1990-1990

# config
pyBIN=/usr/bin/python
OUTfolder=/home/administrador/InteraccionSueloAtmosfera/test
foldOR1proc=/home/administrador/installOR
forcingfolder=/home/administrador/installOR/forcings

# Anciliary data 1 file without year (original name of the files with the ancilliary data [folderName, since ${forcings}]@[origFilen]@[ORfilen])
filestolink=IGCM/SRF/albedo@alb_bg_modisopt_2D_ESA_v3.nc@alb_bg.nc:IGCM/SRF@cartepente2d_15min.nc@cartepente2d_15min.nc:IGCM/SRF@reftemp.nc@reftemp.nc:IGCM/SRF@routing.nc@routing.nc:IGCM/SRF/SOIL@soil_bulk_and_ph.nc@soil_bulk_and_ph.nc:IGCM/SRF@soils_param.nc@soils_param.nc

# Anciliary data 1 file with year (original name of the files with the ancilliary data [folderName, since ${forcings}]@[origFilen]@[ORfilen], [YYYY] to be changed by the correspondant year)
filestolinkyr=IGCM/SRF/PFTMAPS/CMIP6/ESA-LUH2v2/historical/15PFT.v2@PFTmap_YYYY.nc@PFTmap.nc:IGCM/SRF/WOODHARVEST/LUH2v2/historical4@woodharvest_YYYY.nc@woodharvest.nc

# Anciliary data 3 files with year-1,year,year+1 (original name of the files with the ancilliary data [folderName, since ${forcings}]@[origFilen]@[ORfilen], [YYYY] to be changed by the correspondant year-1, year, year+1)
filestolink3yr=

# Atmospheric forcing as [ForcingName]@[HeaderForcingFiles] [assuming ${forcingfolder}/ATMOS/{ForcingName}/{HeaderForcingFiles}_YYYY.nc]
atmos=CRUNCEP@cruncep_halfdeg

# Additional parameters for run.def as [paramName1]:[values1];...;[paramNameN]:[valuesN] (! for spaces)
addparams=
  1. Running it

nohup ./run_multi-or_1proc.bash >& run_multi_or_1proc.log &


  1. Getting forcings
wget -r ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings
Herramientas personales