Commit Graph

234 Commits

Author SHA1 Message Date
Florian Rathgeber 354d7bad48 ECC-296 Python extension module only links 3rd party libs for static builds 2016-09-07 12:42:33 +01:00
Florian Rathgeber f1421ad0ed ECC-296 Respect INSTALL_LIB_DIR when setting RPATH for Python extension module 2016-09-05 18:19:06 +01:00
Shahram Najm 464052db63 ECC-200: Python links to confluence 2016-08-25 18:25:36 +01:00
Shahram Najm 5aeaf8a48b Update comments/doxygen docs 2016-08-17 14:47:02 +01:00
Shahram Najm 44ba4e8b9a Fix compiler warnings [-Wstrict-prototypes] 2016-08-05 12:57:56 +01:00
Shahram Najm 125153cb03 Remove warning re errno 2016-08-04 16:43:24 +01:00
Shahram Najm ea426385a9 Clean up 2016-08-03 14:38:46 +01:00
Shahram Najm 913d16629b Fix warning re off_t and size_t in Python wrapper 2016-08-03 14:09:57 +01:00
Shahram Najm 465d4f177c ECC-310: Clean up 2016-08-02 18:07:03 +01:00
Shahram Najm 4b292539a1 ECC-310: Fix codes_set_array to detect type 2016-08-02 17:58:15 +01:00
Shahram Najm a4dfb57b48 ECC-310: Python codes_set_array with strings (Part 01) 2016-08-02 17:21:56 +01:00
Shahram Najm 1d45d20c93 ECC-293: bufr_dump -Epython (Part 04). Added test 2016-08-02 11:42:55 +01:00
Shahram Najm 72f2078254 Python does not need libs. OpenJPEG fix for static libs 2016-07-29 18:03:54 +01:00
Florian Rathgeber bfdead0f04 ECC-204 Remove obsolete SWIG interface files 2016-07-28 23:33:58 +01:00
Florian Rathgeber 35d0d21e8e ECC-204 Fix docstrings of gribapi Python module (Numpy is required) 2016-07-28 23:23:15 +01:00
Florian Rathgeber f7cc95593f Python: PEP8 2016-07-28 23:08:46 +01:00
Florian Rathgeber 12ee683645 ECC-204 Remove with_numpy checks from gribapi module 2016-07-28 23:01:41 +01:00
Shahram Najm c8311f8eb6 Do not need the OPENJPEG library in python 2016-07-25 15:58:50 +01:00
Shahram Najm 608bce2447 Remove redundant NUMPY macro 2016-07-21 18:13:01 +01:00
Shahram Najm f53e92a346 Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2016-07-21 18:01:59 +01:00
Florian Rathgeber 16920ed704 ECC-204 Remove NUMPY ifdef from SWIG interface file 2016-07-21 17:49:22 +01:00
Shahram Najm 10d059a5b1 New error codes 2016-07-21 17:24:08 +01:00
Florian Rathgeber f4a7bac2e6 ECC-296 Respect DESTDIR when installing Python bindings 2016-07-19 09:02:28 +01:00
Shahram Najm c544f1c5e8 ECC-296: Python array no longer supported 2016-07-18 17:50:54 +01:00
Shahram Najm 9fa06f96f0 ECC-296: Create Python symlinks 2016-07-18 17:47:15 +01:00
Shahram Najm 5f74e56c31 ECC-296: Update egg info 2016-07-18 17:06:07 +01:00
Shahram Najm 6710163879 ECC-296: Use Python distutils to install Python modules 2016-07-18 16:35:25 +01:00
Shahram Najm 4f3fe1b785 Python setup: remove unnecessary libraries 2016-07-18 14:58:38 +01:00
Florian Rathgeber 109a724384 ECC-204 Python: remove obsolete swig_wrap_array.{c,py} 2016-07-14 08:48:22 +01:00
Florian Rathgeber 95455c34a0 ECC-204 Python: remove support for deprecated array handler 2016-07-14 08:48:22 +01:00
Florian Rathgeber cc54d6810a ECC-296 Clean up python CMakeLists 2016-07-14 08:48:21 +01:00
Florian Rathgeber cad2ea0b4a ECC-296 Clean up setup.py 2016-07-14 08:48:21 +01:00
Florian Rathgeber 7bf11d75e2 ECC-296 Use Python distutils to install Python modules
* Create Python modules eccodes and gribapi already in the source tree
* Copy modules to build tree, so build tree mirrors install location
* Call `python setup.py build_exit --inplace` to build extension module
  for use in build tree (using the build tree RPATH)
* Call `python setup.py install --prefix=${CMAKE_INSTALL_PREFIX}` to
  install (using the build tree RPATH)

The build tree is now a fully functioning Python package, so you can
also `pip install /path/to/eccodes/build/python`.
2016-07-14 08:48:20 +01:00
Shahram Najm e9e7c03cd6 ECC-200: Improve Python docs 2016-07-13 17:20:51 +01:00
Shahram Najm e12a686edf ECC-200: Python docs updates 2016-07-13 13:47:21 +01:00
Shahram Najm 81b4cfb4c8 ECC-200: doxygen documentation 2016-07-11 11:37:33 +01:00
Shahram Najm 72fb322279 ECC-294: C function grib_get_data has unused argument 'size' 2016-07-06 15:10:20 +01:00
Shahram Najm 366bd1ff3d ECC-283: Add functions to Python interface 2016-06-29 16:40:28 +01:00
Shahram Najm 405c7c384e Fix python lib path in bundle 2016-06-09 16:07:01 +01:00
Shahram Najm d3342f4083 Fix python lib path in bundle 2016-06-09 15:58:51 +01:00
Shahram Najm a4acc9eae4 Make minimum Python version 2.6 to enable Python3 in future 2016-06-01 16:40:20 +01:00
Shahram Najm dddef51598 Replace LIB_JASPER with HAVE_LIBJASPER for consistency 2016-05-25 16:36:29 +01:00
Shahram Najm 3c5f05d752 Fix issue with JASPER not being installed (MAC OS issue) 2016-05-24 17:25:51 +01:00
Shahram Najm 520f91f687 Add missing function prototypes 2016-04-26 14:21:16 +01:00
Shahram Najm 63b58cb710 Fixes for F90 example and python setup 2016-04-04 16:53:25 +01:00
Shahram Najm 735a373c44 GRIB-927 python build/install with distutils 2016-02-16 18:05:11 +00:00
Shahram Najm 5c7761d936 ECC-204: Python bindings: make numpy a requirement (drop support for python arrays) 2016-01-07 10:54:02 +00:00
Shahram Najm 45badf3729 GRIB-902: Update copyright notices: 2015 -> 2016 2015-12-31 12:44:51 +00:00
Shahram Najm 52ab4d1ba3 GRIB-884: OpenMP Support 2015-12-30 14:39:02 +00:00
Shahram Najm bd502a1c6d Rename GRIB_PTHREAD_ONCE macro (in preparation for GRIB-884) 2015-12-30 11:55:03 +00:00
Shahram Najm e20833fce2 Added the two constants GRIB_MISSING_DOUBLE and GRIB_MISSING_LONG 2015-11-16 16:22:21 +00:00
Shahram Najm 92e07e5a38 Clean up python 2015-11-16 14:38:51 +00:00
Shahram Najm 273451ff7c ECC-144: Performance: ecCodes should be as fast as grib api 2015-11-04 12:40:17 +00:00
Shahram Najm dfa054154c ECC-154: Fix __version__ import 2015-10-27 17:40:24 +00:00
Shahram Najm ee0d25caa5 ECC-154: comment re _internal module import 2015-10-27 16:49:33 +00:00
Shahram Najm d174d6a24b ECC-154: Install python module correctly 2015-10-27 16:28:10 +00:00
Shahram Najm 2e074dcda2 Remove unnecessary search for Python interpreter 2015-10-19 17:38:13 +01:00
Shahram Najm edbd068a42 ECC-155: Crash: calling codes_dump from Fortran 2015-10-02 15:13:25 +01:00
Shahram Najm 8e994a3d90 CMake: no point checking for HAVE_PYTHON twice! 2015-09-29 14:40:48 +01:00
Shahram Najm 77e108821e GRIB-790 PEP8ify Python interface 2015-09-24 14:38:42 +01:00
Shahram Najm 76bd03e33a CMake: fortran and examples features 2015-06-09 14:50:51 +01:00
Enrico Fucile 5b1a787f63 ECC-128 part 1 2015-06-03 14:52:29 +01:00
Shahram Najm 5b36903347 ECC-117: Eliminate function codes_is_defined (Part 1) 2015-05-13 13:00:31 +01:00
Shahram Najm beceeba32f Fix failing python tests: Must use old swig v1.3.40! 2015-05-11 18:47:11 +01:00
Enrico Fucile 5f8f69908b solved ECC-85, ECC-118 2015-05-11 14:58:23 +01:00
Shahram Najm fce32129b2 ECC-106: CMake: overriding default install directories 2015-04-29 17:16:13 +01:00
Enrico Fucile b95849b25b improved reading of messages with confusing padding or malformed messages ECC-101 2015-04-29 13:25:04 +01:00
Shahram Najm a11654746a Metar example: metar_get_keys.py 2015-04-22 17:58:21 +01:00
Enrico Fucile 0067ecc483 added gts_new function in python. Added python gts example. 2015-04-22 11:17:20 +01:00
Shahram Najm abc2ef8d4a Renumber product constants 2015-03-27 20:31:08 +00:00
Shahram Najm e1a39939da Fix for rpath in python wrapper when shared libs 2015-03-20 18:26:32 +00:00
Shahram Najm 6fe515c665 ECC-86: Rename all grib related API examples (Part 17) 2015-03-18 13:24:48 +00:00
Shahram Najm bbbf956cbd ECC-86: Rename all grib related API examples (Part 15) 2015-03-18 11:57:18 +00:00
Shahram Najm 9574a7689d ECC-86: Rename all grib related API examples (Part 9) 2015-03-17 15:55:36 +00:00
Shahram Najm b2719ca8f2 ECC-86: Rename all grib related API examples (Part 7) 2015-03-17 15:23:16 +00:00
Shahram Najm dc1a3d85d2 ECC-86: Rename all grib related API examples (Part 6) 2015-03-17 15:01:07 +00:00
Shahram Najm 34592d71c5 ECC-86: Rename all grib related API examples (Part 3) 2015-03-17 14:21:14 +00:00
Shahram Najm 7fd8826789 ECC-86: Rename all grib related API examples (Part 2) 2015-03-17 14:01:14 +00:00
Shahram Najm ee2ab390b9 ECC-86: Rename all grib related API examples (Part 1) 2015-03-17 13:19:09 +00:00
Shahram Najm 5e40052511 ECC-80: Python example/test 2015-03-12 18:04:42 +00:00
Shahram Najm 988cf877c6 ECC-80: Added swig generated files 2015-03-12 17:59:51 +00:00
Shahram Najm 901febc296 ECC-80: Python interface 2015-03-12 17:46:47 +00:00
Shahram Najm fd2531c7cf GRIB-729: Crash: calling grib_keys_iterator_get_name before grib_keys_iterator_next 2015-03-09 18:29:13 +00:00
Shahram Najm bc5b883c21 ECC-10: Creating a handle from a file 2015-03-04 17:11:18 +00:00
Shahram Najm 9f243b7c4d Rebranding: python install dir 2015-02-23 10:02:31 +00:00
Shahram Najm 47085c545f ECC-63: Change name of the library (autotools) 2015-02-14 16:22:49 +00:00
Shahram Najm f0ea1ec12f ECC-63: Change name of the library 2015-02-13 18:04:42 +00:00
Shahram Najm 04c5e03d77 ECC-10: Creating a handle from a file 2015-02-12 18:32:04 +00:00
Shahram Najm 5296896af5 ECC-60: Rename API functions which are GRIB specific 2015-02-11 16:53:09 +00:00
Shahram Najm bf3bd8146f ECC-58: Fix the interface of Fortran function: grib_keys_iterator_next 2015-02-10 16:42:27 +00:00
Enrico Fucile 3eb5cc7f9c Implemented attributes functions in accessor_class_gen. Changed json dump 2015-02-09 12:41:17 +00:00
Shahram Najm e1ac37bc5f Fix broken python interface (removal of headers_only) 2015-01-29 12:39:07 +00:00
Shahram Najm 2a5717e1b1 Added Python wrapper function to create BUFR from file (may be renamed later) 2015-01-28 14:55:55 +00:00
Shahram Najm 8e3f489091 ECC-28: Change the prefix of all environment variables 2015-01-23 22:47:51 +00:00
Shahram Najm 6dcb518b5f ECC-19: Rename grib_info to codes_info 2015-01-22 16:44:59 +00:00
Shahram Najm 3ad092ba09 GRIB-672 2015-01-17 23:47:40 +00:00
Shahram Najm bf95a431bf ECC-11: Python interface for autotools 2015-01-13 18:45:34 +00:00
Shahram Najm 5566658825 ECC-11: Python interface with codes_ prefix 2015-01-13 18:34:04 +00:00
Shahram Najm 363150002d Fix python function prefix 2015-01-13 18:02:01 +00:00
Shahram Najm 0c5347884d GRIB-672: Temporarily revert changes 2015-01-09 15:18:26 +00:00
Shahram Najm 188c7f3d3c Update Copyright notice to 2015 2015-01-05 15:45:46 +00:00
Shahram Najm c7c1a2818d Fix spelling 2015-01-01 16:43:45 +00:00
Shahram Najm 9a8c1de576 GRIB-672: CMake: python bindings do not support numpy 2014-12-31 17:33:24 +00:00
Shahram Najm 96e93e5c50 CMake install: related to GRIB-613 2014-12-18 11:03:45 +00:00
Enrico Fucile f22153bd1a created class for descriptors. Improved design and performance (see
tests/bufrdc_ref.sh)
2014-11-04 13:59:20 +00:00
Shahram Najm 948b2443c5 CMake: use HAVE_X not ENABLE_X to test if feature X is there 2014-10-24 13:36:19 +01:00
Shahram Najm 73b170367e GRIB-616: Python object file _gribapi_swig.so links to wrong library 2014-10-23 16:17:45 +01:00
Shahram Najm 69585b4db8 CMake: fix how we find numpy 2014-10-23 11:23:35 +01:00
Shahram Najm b391de3a18 GRIB-613: fix python module installation path 2014-10-21 18:15:00 +01:00
Shahram Najm ec773964ed GRIB-179: Data representation template 5.42 (CCSDS). Python fixes 2014-10-10 18:09:04 +01:00
Shahram Najm 06296e1df9 Remove p4 commands 2014-08-05 13:10:51 +01:00
Shahram Najm ece70678e3 Updated error codes (fixes broken examples/python/index.sh test) 2014-08-05 13:10:26 +01:00
Shahram Najm 8e3b2f2244 GRIB-568: Python call grib_new_from_file does not fail on corrupt GRIB message 2014-07-31 14:05:14 +01:00
Shahram Najm f2005d0bc6 Merge grib api and eccodes: part 9 2014-07-07 21:55:19 +01:00
Shahram Najm 874512f0c8 Merge grib api and eccodes - part 7 2014-06-21 12:40:27 +01:00
Shahram Najm e9cb722ffc Merge grib api and eccodes - part 1 2014-06-18 17:14:01 +01:00
Shahram Najm d410e5ccfd GRIB-496: Allow inheritance in Python GRIB API typechecking 2014-04-17 22:30:13 +01:00
Shahram Najm 56e8d3e90e GRIB-513: Remove the deprecated function: grib_handle_new_from_template 2014-03-21 16:25:30 +00:00
Shahram Najm cbae54f0da Update copyright text 2014-01-03 16:22:21 +00:00
Shahram Najm 20b95e6349 CMake: change to conforming options 2013-12-09 14:47:14 +00:00
Shahram Najm 239e4e0cfa Cmake: add the main grib api python file to installation 2013-11-11 16:37:53 +00:00
Shahram Najm 58baf8d7ab Fix the failure with 'make dist' when we configure without python 2013-09-30 16:57:34 +01:00
Shahram Najm e45107acbb Checkin from Tiago: fixes for build system 2013-09-18 08:53:52 +01:00
Shahram Najm 021857c7c0 SHA1 hash and other cleanups 2013-06-25 10:52:05 +01:00
Shahram Najm 9736050a61 Remove the eccode prefix and revert to previous gribapi. Will revisit when merging with ecCodes 2013-06-14 13:56:55 +01:00
Shahram Najm 879cf907ec GRIB-339 Python bindings: remove all grib_ prefixes 2013-05-20 10:34:52 +01:00
Shahram Najm 4d4a21ede6 Improved comments 2013-05-02 16:32:19 +01:00
Shahram Najm f613b8f86c CMake updates from 1.10.4 2013-04-23 10:04:23 +01:00
Shahram Najm d65b0e3016 Update copyright text 2013-04-18 10:23:23 +01:00
Shahram Najm abeb369252 Cmake merge 2013-04-10 16:46:41 +01:00
Shahram Najm 7f5d1faca2 Cmake changes 2013-04-03 11:45:13 +01:00
Tiago Quintino fc4a08ba78 bring branch 2.0.0 in sync with p4 releases/2.0.0 2013-03-25 14:31:59 +00:00
Tiago Quintino dedac1b286 bring master in sync with p4 main 2013-03-25 14:23:07 +00:00
Tiago Quintino 33b891186d Ported grib_api 1.10.4 from p4 to git 2013-03-25 12:04:10 +00:00