-
Notifications
You must be signed in to change notification settings - Fork 4
Requirements to use the C ESM EP
The C-ESM-EP works both on Ciclad and Curie. The C-ESM-EP uses a setenv_C-ESM-EP.sh script that sets your environment properly when running an atlas.
However, you might need to check some other things (see below) to be sure that you can run the C-ESM-EP.
On Ciclad, you need to have a space on the web (often known/refered to as 'dods') server. If you encounter this error:
[jmlod@ciclad-ng C-ESM-EP]$ python run_C-ESM-EP.py standard_comparison/
Traceback (most recent call last):
File "run_C-ESM-EP.py", line 220, in
os.makedirs(webspace)
File "/opt/anaconda/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/opt/anaconda/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/opt/anaconda/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/prodigfs/ipslfs/dods/jmlod'
this means that you do not have a space on dods. Please contact the support of the IPSL mesocentre to ask for a space on dods (see the e-mail address meso-support in the prompt when you connect to ciclad).
On Curie you will automatically have access to the thredds.
If you have this error when running set_available_period_ts_clim.py:
fabric@ciclad-ng:~/users/jmlod/C-ESM-EP> python set_available_period_ts_clim.py standard_comparison/
Traceback (most recent call last):
File "set_available_period_ts_clim.py", line 18, in
from CM_atlas import *
ImportError: No module named CM_atlas
This means that you need to have CliMAF in your path. To fix this, simply do:
source setenv_C-ESM-EP.sh
And try again.
You will need the 'optparse' library to run TuningMetrics and ParallelCoordinates. On your account, do:
(PMP_nightly-nox) jservon@ciclad-ng:~/C-ESM-EP/git> R
R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
R est un logiciel libre livré sans AUCUNE GARANTIE.
Vous pouvez le redistribuer sous certaines conditions.
Tapez 'license()' ou 'licence()' pour plus de détails.
R est un projet collaboratif avec de nombreux contributeurs.
Tapez 'contributors()' pour plus d'information et
'citation()' pour la façon de le citer dans les publications.
Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide
en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
Tapez 'q()' pour quitter R.
> install.packages('optparse')
Installation du package dans ‘/home/jservon/R/x86_64-redhat-linux-gnu-library/3.3’
(car ‘lib’ n'est pas spécifié)
--- SVP sélectionner un miroir CRAN pour cette session ---
Select a CRAN mirror (any); it will install the package.
This should get you going with R for TuningMetrics and ParallelCoordinates
Running the C-ESM-EP requires the following python libraries:
- cdat (cdms2)
- netcdf4
- numpy
- matplotlib
- windspharm (optional, for O. Torres diagnostics)