...
Also note that if you have several CPUs, you can invoke the "make" and "ctest" commands above in parallel (e.g. "
make -j4
", "ctest -j4
"). This will speed up the whole build/test process significantly.Python 3 bindings from PyPi via 'pip'
The Python 3 bindings are built with CFFI and are packaged separately. However, from version 2.37.0 of the Python bindings, a pre-built version of the ecCodes binary library is supplied with the bindings available on PyPi, meaning that it is not necessary to build the ecCodes library unless you really need something very specific.
...
Code Block |
---|
> pip3 install eccodes --no-binary eccodes |
If you are installing your own-built ecCodes binary library into a non-standard installation location, then set the environment variable ECCODES_DIR to tell the bindings where to find the root installation directory of the ecCodes engine.
Code Block |
---|
> export ECCODES_DIR=/path/to/where/you/install/eccodes |
For more information on installing the Python bindings and using a separate ecCodes binary library, please see https://github.com/ecmwf/eccodes-python/blob/master/README.rst.
See: https://pypi.org/project/eccodes/
Python 3 bindings from conda
See How to install ecCodes with Python bindings in conda - ecCodes FAQ.
Microsoft Windows
Please note: Windows is not a platform that is used for technical work at ECMWF. Therefore we cannot support this platform. For operational use, we strongly advise you to use Linux.
...