File: README

package info (click to toggle)
grib-api 1.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 217,848 kB
  • ctags: 16,929
  • sloc: ansic: 111,244; sh: 14,785; makefile: 5,307; f90: 3,583; perl: 3,160; python: 2,830; yacc: 712; fortran: 468; lex: 330; cpp: 305; awk: 66
file content (20 lines) | stat: -rwxr-xr-x 732 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 as package
'gribapi' under '${GRIBAPI_install_dir}/lib/pythonX.X/site-packages',
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.