...
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 " |
Setup
To use it, you need three two things:
- A Python 3 interpreter
- Metview 5 needs to be installed and in your PATH
- 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.
...