Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed references to the obsolete metview-python module

...

Info

Metview's Python interface is currently available on internal ECMWF desktop machines, lxc and on the Member State server ecgate as well as the HPCF. It is also on github and PyPi and can be installed with the command "pip install metview".

Setup

To use it, you need three two things:

  1. A Python 3 interpreter
  2. Metview 5 needs to be installed and in your PATH
  3. Metview's Python module needs to be accessible from Python

So, to try it right now at ECMWF, do the following from a terminal:

Code Block
module load python3/new
module swap metview/new
module load metview-python/new

The internal installation at ECMWF also includes the cfgrib library for obtaining xarray datasets from GRIB. Metview's to_dataset() function uses this internally from version 0.8.4 onwards.

...