runORDCAO
De Wikicima
(Diferencias entre revisiones)
(→Getting forcings) |
(→Getting forcings) |
||
Línea 49: | Línea 49: | ||
cd forcings/IGCM/SRF |
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/cartepente2d_15min.nc |
||
− | wget ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/IGCM/SRF/soils_param.nc |
+ | wget -r -nH --cut-dirs=6 ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings/IGCM/SRF/soils_param.nc |
</PRE> |
</PRE> |
||
+ | |||
+ | = Running ORCHIDEE = |
||
+ | Creation of a working directory [WORKDIR] (InteraccionSueloAtmosfera) |
||
+ | <PRE> |
||
+ | cd ${HOME} |
||
+ | mkdir InteraccionSueloAtmosfera |
||
+ | cd InteraccionSueloAtmosfera |
||
+ | </PRE> |
||
+ | # Creation of a test folder |
||
+ | <PRE> |
||
+ | mkdir test |
||
+ | cd test |
||
+ | </PRE> |
||
+ | # copying the configuration file and linkning the running script |
||
+ | <PRE> |
||
+ | cp ~/installOR/components/shell/or_1-proc.config ./ |
||
+ | ln ~/installOR/components/shell/run_multi-or_1proc.bash ./ |
||
+ | </PRE> |
||
+ | # Editting the configuration file. It should look like: |
||
+ | <PRE> |
||
+ | # 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= |
||
+ | </PRE> |
||
+ | |||
+ | # Running it |
||
+ | nohup ./run_multi-or_1proc.bash >& run_multi_or_1proc.log & |
||
Revisión de 14:03 22 jul 2019
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
- Creation of a work-flow folder [oRWORKFLOW_1proc] (installOR)
mkdir installOR
- Going there
cd installOR
- 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]
- Creation of the atmospheric forcing data folder structure
mkdir -p forcings/ATMOS/CRUNCEP
- 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
- Going back to [oRWORKFLOW_1proc]
cd ../../../
- Creation of the ancillary data folder structure
mkdir -p forcings/IGCM/SRF
- 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
- Creation of a test folder
mkdir test cd test
- 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 ./
- 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=
- Running it
nohup ./run_multi-or_1proc.bash >& run_multi_or_1proc.log &
- Getting forcings
wget -r ftp://ftp.cima.fcen.uba.ar/lluis.fita/Curso_InteraccionSueloAtmosfera/TPs/forcings