EMS Installation
A copy of the contents of the README
Prerequisites
- Python 3.*
- Python packages numpy, scipy, netCDF4 and matplotlib
- GMAP tools in
/home/common/sync
Quick installation
To install EMS on a CNRM computer, with access to the CNRM Lustre system:
Get the installation script:
wget https://raw.githubusercontent.com/romainroehrig/EMS/master/install.shModify
install.sh(or executeinstall.sh -hto get its usage):- Set
EMS_VERSION, e.g.,EMS_VERSION=2.4.3 - Set where you want to install EMS: default is
REP_EMS=$HOME/Tools/EMS/V${EMS_VERSION} - Set where you want to run MUSC: default is
REP_MUSC=$HOME/MUSC/V${EMS_VERSION}
- Set
Execute
install.sh. A test is done at the end with ARPEGE-Climat 6.3.2 for the ARMCU/REF case.
Using EMS
Go in the
REP_MUSCdirectorySource setenv to have the right PATH and PYTHONPATH environment variables
source setenvYou can manage your own namelists (
namelistdirectory), vertical grid (griddirectory) and MUSC configuration files (configdirectory), and postprocessing (postdirectory).Run MUSC:
MUSC.py -config config/YOUR_CONFIG_FILE -case CASE -subcase SUBCASE
Other available tools
ems_list_cases.py: Provide information about cases/subcases available in EMSems_prep_init_forc_atm.py: prepare the nam1D namelist for ARPIFS restartems_prep_nam_atm.py: Modify an ARPIFS namelist to simulate a case described by a netcdf file using the DEPHY common formatems_prep_nam_sfx.py: Modify a SURFEX namelist to simulate a case described by a netcdf file using the DEPHY common formatems_convert2p.pyems_convert2z.pyems_convertLFA2nc.pyems_lfa2nc.py