Skip to content

SebastienRietteMTO/EMS

This branch is 81 commits behind romainroehrig/EMS:master.

Repository files navigation

EMS - Environment for MUSC Simulations

Prerequisites

  • Python 2.* or 3.*
  • Python packages numpy, 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:

  1. Get the installation script:

    wget https://raw.githubusercontent.com/romainroehrig/EMS/master/install.sh

  2. Modify install.sh:

    • Set EMS_VERSION, e.g., EMS_VERSION=2.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}
  3. Execute install.sh. A test is done at the end with ARPEGE-Climat 6.3.1 for the ARMCU/REF case.

Using EMS

  1. Go in the REP_MUSC directory

  2. Source setenv to have the right PATH and PYTHONPATH environment variables

    source setenv

  3. You can manage your own namelists (namelist directory), vertical grid (grid directory) and MUSC configuration files (config directory), and postprocessing (post directory).

  4. 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 EMS
  • ems_prep_init_forc_atm.py: prepare the nam1D namelist for ARPIFS restart
  • ems_prep_nam_atm.py: Modify an ARPIFS namelist to simulate a case described by a netcdf file using the DEPHY common format
  • ems_prep_nam_sfx.py: Modify a SURFEX namelist to simulate a case described by a netcdf file using the DEPHY common format
  • ems_convert2p.py
  • ems_convert2z.py
  • ems_convertLFA2nc.py
  • ems_lfa2nc.py

About

Environment for MUSC Simulations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Fortran 57.5%
  • Python 39.0%
  • Shell 2.0%
  • C 1.2%
  • Makefile 0.3%