Skip to content

The C ESM EP in a nutshell

jservonnat edited this page Jun 1, 2018 · 35 revisions

On this page you will find the basic steps to run the C-ESM-EP on Ciclad or Curie for the first time.

Get the C-ESM-EP

Start by cloning the sources on your /home: On Ciclad:

git clone https://github.com/jservonnat/C-ESM-EP.git

On Curie, you just copy the sources:

mkdir C-ESM-EP
cp -r /ccc/cont003/home/dsm/p86jser/C-ESM-EP/src/* C-ESM-EP

Set your e-mail in run_C-ESM-EP.py

In the script run_C-ESM-EP.py you will find a variable 'email' that you should set to:

  • your e-mail if you want to receive a notification at the end of each job
  • None if you want to deactivate it

Run the standard_comparison

Then run the standard_comparison comparison (provided as an example):

python run_C-ESM-EP.py standard_comparison

This will submit one job per available component/atlas in the standard_comparison directory. Note: standard_comparison contains a subset of the available atlases that is suitable for a coupled model. There are more atlases available in share/optional_atlas

The script will return the url of the C-ESM-EP html frontpage:

[...]
component =  Monsoons
2246587
/home/fabric/users/jservon/C-ESM-EP

-- The CliMAF ESM Evaluation Platform will be available here:
--
--   https://vesg.ipsl.upmc.fr/thredds/fileServer/IPSLFS/fabric/C-ESM-EP/standard_comparison_jservon/C-ESM-EP_standard_comparison.html
--
--
-- html file can be seen here:
-- /prodigfs/ipslfs/dods/fabric/C-ESM-EP/standard_comparison_jservon/C-ESM-EP_standard_comparison.html
fabric@ciclad-ng:~/users/jservon/C-ESM-EP>

Just get the url

Note: if you just want to get the url of a comparison without running the atlases, add url at the end of the command line and the script will simply return the url of the frontpage:

python run_C-ESM-EP.py standard_comparison url

Update your C-ESM-EP

To get the last version of the C-ESM-EP, simply do:

git pull

in your working directory.

Warning: if there are modifications on the params_*.py files in standard_comparison, re-start a new comparison from standard_comparison and not from one of your existing comparisons to benefit from the new features (and potentially avoid errors).

Run sets of atlases: LMDZ, NEMO, ORCHIDEE...

But there are also some pre-defined sets of atlases that you can run with the following arguments:

python run_C-ESM-EP.py my_comparison OA

=> 'Atmosphere_Surface', 'Atmosphere_zonmean', 'NEMO_main', 'NEMO_zonmean', 'NEMO_depthlevels', 'Atlantic_Atmosphere_Surface', 'ENSO', 'PISCES’

python run_C-ESM-EP.py my_comparison LMDZ

=> 'Atmosphere_Surface', 'Atmosphere_zonmean', 'Atmosphere_StdPressLevs’

python run_C-ESM-EP.py my_comparison LMDZOR

=> 'Atmosphere_Surface', 'Atmosphere_zonmean', 'Atmosphere_StdPressLevs', 'ORCHIDEE’

python run_C-ESM-EP.py my_comparison NEMO

=> 'NEMO_main', 'NEMO_zonmean', 'NEMO_depthlevels’, ‘PISCES’

Feel free to specify yours in run_C-ESM-EP.py (follow the examples in run_C-ESM-EP.py)

clean_out_error.sh, a script to clean the outputs

The C-ESM-EP can produce a large volume of output/error/log files. You can easily clean those files use the clean_out_error.sh script:

bash clean_out_error.sh

Move on to Building my comparison part 1 if you have successfully done all the steps!

And also have a look at how to use set_available_period_ts_clim.py to take advantage of a faster C-ESM-EP.