eccodes/python
Shahram Najm 44ba4e8b9a Fix compiler warnings [-Wstrict-prototypes] 2016-08-05 12:57:56 +01:00
..
eccodes ECC-310: Python codes_set_array with strings (Part 01) 2016-08-02 17:21:56 +01:00
gribapi ECC-310: Fix codes_set_array to detect type 2016-08-02 17:58:15 +01:00
CMakeLists.txt Python does not need libs. OpenJPEG fix for static libs 2016-07-29 18:03:54 +01:00
Makefile.am ECC-296: Create Python symlinks 2016-07-18 17:47:15 +01:00
README Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
compare_iterator_values.sh Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
dummy.am Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
extrules.am Remove redundant NUMPY macro 2016-07-21 18:13:01 +01:00
grib_errors.h Clean up 2016-08-03 14:38:46 +01:00
grib_interface.c Remove warning re errno 2016-08-04 16:43:24 +01:00
grib_interface.h Fix warning re off_t and size_t in Python wrapper 2016-08-03 14:09:57 +01:00
gribapi.c GRIB-902: Update copyright notices: 2015 -> 2016 2015-12-31 12:44:51 +00:00
gribapi_swig.i ECC-310: Clean up 2016-08-02 18:07:03 +01:00
numpy.i Fix spelling 2015-01-01 16:43:45 +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 Fixes for F90 example and python setup 2016-04-04 16:53:25 +01:00
setup.py.in Python does not need libs. OpenJPEG fix for static libs 2016-07-29 18:03:54 +01:00
swig_wrap_numpy.c Fix compiler warnings [-Wstrict-prototypes] 2016-08-05 12:57:56 +01:00
swig_wrap_numpy.py ECC-310: Python codes_set_array with strings (Part 01) 2016-08-02 17:21:56 +01:00
test_extra.py Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
test_general.py ECC-117: Eliminate function codes_is_defined (Part 1) 2015-05-13 13:00:31 +01:00
test_index.py Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
test_iterator.py Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00
test_keysiterator.py Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +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/