Difference between revisions of "SURFEX/Crocus"

From mn/geo/geoit
Jump to: navigation, search
Line 16: Line 16:
  
 
==== Example: ====
 
==== Example: ====
 +
 
  module load surfex
 
  module load surfex
 
 
  mkdir $HOME/surfex_example
 
  mkdir $HOME/surfex_example
 
 
  cd $HOME/surfex_example
 
  cd $HOME/surfex_example
  
  #Copy FORCING input file in your local directory
+
  # Copy FORCING input file in your local directory
 
 
 
  cp $SURFEX_HOME/../examples/wiki-test/FORCING.nc
 
  cp $SURFEX_HOME/../examples/wiki-test/FORCING.nc
  
  #Run SURFEX/Crocus: specify at least the start date and end date (your FORCING.nc file should contain corresponding data)
+
  # Run SURFEX/Crocus: specify at least the start date and end date (your FORCING.nc file should contain corresponding data)
 
 
 
  s2m -b 20100802 -e 20100901 -f FORCING.nc -g
 
  s2m -b 20100802 -e 20100901 -f FORCING.nc -g
  
proReader.py output/pro/PRO_2010080206_2010090106.nc --point=0 -p SNOWTEMP
+
# Plot outputs
 +
proReader.py output/pro/PRO_2010080206_2010090106.nc --point=0 -p SNOWTEMP
  
 
==== Documentation ====
 
==== Documentation ====
 +
 
https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki
 
https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki

Revision as of 16:16, 5 December 2017

SURFEX/Crocus has been installed on wessel. To check which version is available:

module avail surfex

To set-up your environment:

module load surfex/lafaysse_fromV8trunk_withmeb

When loading surfex, the following environment variables are defined:

  • SURFEX_HOME: directory where SURFEX has been installed
  • SNOWTOOLS_CEN: snowtools scripts (python 2 scripts)
  • EXESURFEX: path where surfex binary can be found

The serial version (no MPI) Crocus has been compiled with gnu compilers.

Example:

module load surfex
mkdir $HOME/surfex_example
cd $HOME/surfex_example
# Copy FORCING input file in your local directory
cp $SURFEX_HOME/../examples/wiki-test/FORCING.nc
# Run SURFEX/Crocus: specify at least the start date and end date (your FORCING.nc file should contain corresponding data)
s2m -b 20100802 -e 20100901 -f FORCING.nc -g
# Plot outputs
proReader.py output/pro/PRO_2010080206_2010090106.nc --point=0 -p SNOWTEMP

Documentation

https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki