eccodes/python
Shahram Najm 12c6150917 Copyright notices: use new format 2020-01-28 14:32:34 +00:00
..
eccodes ECC-428: Added Python2 API calls 2019-08-09 14:52:12 +01:00
gribapi ECC-428: Inconsistent number of values when decoding compressed BUFR data 2019-09-02 17:26:56 +01:00
CMakeLists.txt ECC-494 Python: output commands before running them 2017-06-15 13:54:09 +01:00
Makefile.am Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
README Update URLs 2019-01-28 12:47:22 +00:00
README.swig PYTHON3 - document how we generate the swig files ECC-264 2018-10-05 15:20:35 +01:00
compare_iterator_values.sh Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
create_errors.py.sh Change error description: memory allocation error 2016-12-15 11:51:47 +00:00
dummy.am Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
extrules.am Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
grib_errors.h ECC-975: Add new error code: 'Functionality not enabled' 2019-08-15 15:58:52 +01:00
grib_interface.c Copyright notices: use new format 2020-01-28 14:32:34 +00:00
grib_interface.h ECC-428: Python header decls 2019-08-14 18:14:51 +01:00
gribapi.c Copyright notices: use new format 2020-01-28 14:32:34 +00:00
gribapi_swig.i ECC-428: Added Python2 API calls 2019-08-09 14:52:12 +01:00
gribapi_swig.py Refactoring 2019-09-11 15:37:16 +01:00
numpy.i Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
run_tests.sh Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
setup.py.autotools.in Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
setup.py.in Update URLs 2019-01-28 12:47:22 +00:00
swig_wrap_numpy.c ECC-428: Inconsistent number of values when decoding compressed BUFR data 2019-09-02 17:26:56 +01:00
swig_wrap_numpy.py ECC-428: Inconsistent number of values when decoding compressed BUFR data 2019-09-02 17:26:56 +01:00
test_extra.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
test_general.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
test_index.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
test_iterator.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
test_keysiterator.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00

README

ecCodes Python bindings

In order to enable the Python bindings in the build,
use the -DENABLE_PYTHON=ON in the cmake step:

  cmake /path/to/src -DENABLE_PYTHON=ON

This will enable the build of the Python bindings with 
NumPy support enabled. Python needs to be in the path
and, of course, the NumPy package installed.

On 'make install', the Python bindings will be installed under
'${ecCodes_install_dir}/lib/pythonX.X/site-packages/eccodes',
where X.X is the version of python used to build the bindings.
Add this folder to your PYTHONPATH and you are ready to go.