- Python 3.7 or higher
- Python packages:
- numpy
- netCDF4
- xarray
- matplotlib
- Optional: pylatex to prepare atlas pdf files.
To install SCM-atlas on a CNRM computer, with access to the CNRM Lustre system:
-
Get the installation script:
wget https://raw.githubusercontent.com/romainroehrig/SCM-atlas/master/install.sh
-
Modify
install.sh
:- Set
ATLAS_VERSION
, e.g.,ATLAS_VERSION=1.2.2
- Set where you want to install SCM-atlas tools: default is
DIR_ATLAS=$HOME/Tools/SCM-atlas/V${ATLAS_VERSION}
- Set where you want to run SCM-atlas tools: default is
DIR_RUN=$HOME/Atlas1D/V${ATLAS_VERSION}
- Set where the reference datasets (e.g., LES) can be found: default is
DIR_REF=/cnrm/amacs/USERS/roehrig/share/SCM-atlas/References/V1.0
- Set
-
Execute
install.sh
. A test is done at the end with provided SCM simulations with ARPEGE-Climat 6.3.1 for the ARMCU/REF, RICO/SHORT and SANDU/REF cases. Check the output atlas at the link provided at the end of the test.
-
Go in the
DIR_RUN
directory -
Source setenv to have the right
PATH
,PYTHONPATH
andSCM_REFERENCES
environment variablessource setenv
-
Prepare you own config file, following the example
config/config_CMIP6.py
-
Run SCM-atlas:
run_atlas1d.py -config config/YOUR_CONFIG_FILE
You can add the option
--pdf
to export pdf files for each case.