eccodes/python
Shahram Najm 832ed60f3c Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
..
eccodes Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
gribapi Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00: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 Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +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 Change error description: memory allocation error 2016-12-15 11:51:47 +00:00
grib_interface.c Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
grib_interface.h Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
gribapi.c Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
gribapi_swig.i Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00: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 ECC-644: Compilation of python bindings with the C PGI compiler 2018-07-27 13:39:12 +01:00
swig_wrap_numpy.c Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00:00
swig_wrap_numpy.py Python3: Enable Python 2 to work as before 2018-11-23 19:11:47 +00: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

GRIB API Python bindings

In order to enable the Python bindings in the build,
use the --enable-python configure flag.

./configure --enable-python

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.

To build the Python bindings without NumPy support, use 
the --disable-numpy configure flag. This will result in
Python array objects being used for data handling.

On 'make install', the Python bindings will be installed under
'${GRIBAPI_install_dir}/lib/pythonX.X/site-packages/grib_api',
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.

For more information on the Python bindings, please visit our
website at:

http://www.ecmwf.int/publications/manuals/grib_api/