Home > Various tools > How to use EPyGrAM to plot the SURFEX OFFLIN outputs? > How to use EPyGrAM?

How to use EPyGrAM?

1. Installing EPyGrAM

  • To install EPyGrAM, you can follow the indications on this page:


If you are outside CNRM, you need to clone the EPyGrAM GIT repository.

If you are in CNRM, either you use the version of EPyGrAM already installed in /home/common directory, either you clone the EPyGrAM GIT repository.

2. Plotting SURFEX OFFLIN output fields

  • For specific case of SURFEX, we developed several little python scripts allowing to plot a field:
    • at one given output instant,
    • at one given lat,lon point as a time series,
    • for the whole period as an animation.
  • These scripts take five arguments:
    • FILE.OUT.nc : name of the SURFEX OFFLIN output file to read
    • FIELD : name of the field from FILE.OUT.nc to plot
    • TIME : output time step to plot
    • LON : longitude of the point to extract (for time series plot)
    • LAT : latitude of the point to extract (for time series plot)
  • So the syntax is, for example:

python make_anim_gauss.py FILE.OUT.nc FIELD TIME LON LAT

3. More help on EPyGrAM

| Site Map | Download in pdf format | Legal notices | Follow site activity RSS 2.0 | Top of the page | SPIP | ScolaSPIP
SURFEX (académie de Versailles)