diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a3dc074e..dc884e9cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ ecbuild_add_option( FEATURE AEC ecbuild_add_option( FEATURE PYTHON DESCRIPTION "build the ecCodes Python interface" DEFAULT ON - REQUIRED_PACKAGES "Python VERSION 2.5" + REQUIRED_PACKAGES "Python VERSION 2.5" NumPy ) ecbuild_add_option( FEATURE FORTRAN diff --git a/python/gribapi.py b/python/gribapi.py index 697ecaac4..1f7fd5896 100644 --- a/python/gribapi.py +++ b/python/gribapi.py @@ -1,21 +1,17 @@ """ @package gribapi -@brief This package is a low level Python interface to GRIB API. It offers almost one to one bindings to the C API functions. +@brief This package is a low level Python interface to ecCodes. It offers almost one to one bindings to the C API functions. -The Python interface to GRIB API uses by default the NumPy package +The Python interface to GRIB API uses the NumPy package as the container of choice for the possible arrays of values that can be encoded/decoded in and from a grib message. Numpy is a package used for scientific computing in Python and an efficient container for generic data. -Alternatively, the Python interface can be built without Numpy support, in which case, the data container used -will be Python's native 'array' object. - The Python interface and its support for NumPy can be enabled/disabled from the configure by using the following configure flags:\n @code --enable-python --disable-numpy -Ex. ./configure --enable-python --disable-numpy @endcode When the '--enable-python' flag is used, then the system Python will be used to build the interface. @@ -25,7 +21,7 @@ NumPy support can be disabled by using the '--disable-numpy' flag. @em Requirements: - Python 2.5 or higher - - NumPy (optional) + - NumPy """ import gribapi_swig as _internal