|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| Makefile.am | H A D | 05-Dec-2018 | 3.2 KiB | 125 | 86 |
| Makefile.in | H A D | 03-May-2022 | 31 KiB | 881 | 756 |
| README | H A D | 05-Dec-2018 | 732 | 21 | 14 |
| __init__.py | H A D | 05-Dec-2018 | 217 | 7 | 2 |
| compare_iterator_values.sh | H A D | 05-Dec-2018 | 406 | 20 | 14 |
| dummy.am | H A D | 05-Dec-2018 | 0 | | |
| extrules.am | H A D | 05-Dec-2018 | 251 | 7 | 5 |
| grib_errors.h | H A D | 05-Dec-2018 | 3.7 KiB | 122 | 59 |
| grib_interface.c | H A D | 05-Dec-2018 | 43.9 KiB | 1,992 | 1,555 |
| grib_interface.h | H A D | 05-Dec-2018 | 6.1 KiB | 110 | 107 |
| gribapi.c | H A D | 05-Dec-2018 | 4.3 KiB | 197 | 133 |
| gribapi.py | H A D | 05-Dec-2018 | 53.4 KiB | 1,767 | 1,314 |
| gribapi_swig.i | H A D | 05-Dec-2018 | 7.8 KiB | 210 | 150 |
| gribfile.py | H A D | 05-Dec-2018 | 2 KiB | 66 | 47 |
| gribindex.py | H A D | 05-Dec-2018 | 3.6 KiB | 104 | 81 |
| gribmessage.py | H A D | 05-Dec-2018 | 7.2 KiB | 199 | 152 |
| numpy.i | H A D | 05-Dec-2018 | 54.9 KiB | 1,635 | 1,232 |
| run_tests.sh | H A D | 05-Dec-2018 | 125 | 9 | 5 |
| setup.py.in | H A D | 05-Dec-2018 | 2.5 KiB | 87 | 68 |
| swig_wrap_array.c | H A D | 05-Dec-2018 | 257.6 KiB | 8,183 | 7,049 |
| swig_wrap_array.py | H A D | 05-Dec-2018 | 20.6 KiB | 551 | 441 |
| swig_wrap_numpy.c | H A D | 05-Dec-2018 | 283.6 KiB | 9,016 | 7,761 |
| swig_wrap_numpy.py | H A D | 05-Dec-2018 | 21.4 KiB | 575 | 459 |
| test_extra.py | H A D | 05-Dec-2018 | 938 | 48 | 31 |
| test_general.py | H A D | 05-Dec-2018 | 5.1 KiB | 173 | 116 |
| test_index.py | H A D | 05-Dec-2018 | 1.9 KiB | 85 | 56 |
| test_iterator.py | H A D | 05-Dec-2018 | 873 | 43 | 27 |
| test_keysiterator.py | H A D | 05-Dec-2018 | 772 | 31 | 16 |
README
1GRIB API Python bindings
2
3In order to enable the Python bindings in the build,
4use the --enable-python configure flag.
5
6./configure --enable-python
7
8This will enable the build of the Python bindings with
9NumPy support enabled. Python needs to be in the path
10and, of course, the NumPy package installed.
11
12To build the Python bindings without NumPy support, use
13the --disable-numpy configure flag. This will result in
14Python array objects being used for data handling.
15
16On 'make install', the Python bindings will be installed as package
17'gribapi' under '${GRIBAPI_install_dir}/lib/pythonX.X/site-packages',
18where X.X is the version of python used to build the bindings.
19Add this folder to your PYTHONPATH and you are ready to go.
20
21