Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you are using MARS to retrieve the data, we have prepared a script that will allow you to get the data and then call the Python script automatically. You can set the date, time, step, class, grid resolution, type, area... The script will create and execute the MARS requests to get (t,q,z,lnsp). You can find more information about the script here: compute_geopotential_on_ml.ksh

Download

Python program

Bitbucket file
repoSlugcompute_eccodes
branchIdrefs/heads/master
projectKeyUSS
filepathcompute_geopotential_on_ml/compute_geopotential_on_ml.py
progLangpython
collapsibletrue

Wrapper script

Bitbucket file
repoSlugcompute_eccodes
branchIdrefs/heads/master
projectKeyUSS
filepathcompute_geopotential_on_ml/compute_geopotential_on_ml.ksh
progLangbash
collapsibletrue

Examples

This example will compute the geopotential on the 2015-10-08 time 00 operational analysis model levels (137). Below you can see the MARS user documentation request used to retrieve both files. You can set a different class/stream/type for the input data. The gribType and resolution can also be changed.

...