Commit Graph

235 Commits

Author SHA1 Message Date
Shahram Najm 851ef3ff86 ECC-452: codes_bufr_copy_data missing in Pythonic interface 2017-04-24 13:51:18 +01:00
Florian Rathgeber c2fcbb5624 ECC-296 ECBUILD-330 python: write install manifest to extra_install.txt 2017-03-30 18:27:18 +01:00
Shahram Najm 32dd699f88 Python docs 2017-03-14 11:55:29 +00:00
Shahram Najm 84385844c9 Python: Fix docstring errors 2017-03-13 15:08:17 +00:00
Shahram Najm b21b94a969 REVERT a5d3b5b: python installation broken! 2017-02-14 17:21:02 +00:00
Florian Rathgeber a5d3b5b61b ECC-106 Respect INSTALL_{BIN,DATA,INSTALL,LIB}_DIR when installing Python modules 2017-02-09 13:02:18 +00:00
Shahram Najm 947b4cd9b7 ECC-424: Allow for filtering the bufr_keys_iter flags (Future) 2017-02-06 16:47:23 +00:00
Shahram Najm 36f37e0fe5 ECC-424: codes_bufr_keys_iterator rework: Python 2017-02-03 17:20:46 +00:00
Shahram Najm 59ba37af8a ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 4: High-level Python) 2017-01-26 18:17:06 +00:00
Shahram Najm c0165af67b ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 2: Python) 2017-01-26 17:26:22 +00:00
Shahram Najm 5e79ca5546 Documentation 2017-01-17 14:41:54 +00:00
Shahram Najm 093394a878 Python: add missing 'require' statements to check argument types 2017-01-06 13:47:46 +00:00
Shahram Najm cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +00:00
Shahram Najm 02927babe3 ECC-157: PythonicInterface. Missing values in GRIB and BUFR are very different 2016-12-29 15:03:55 +00:00
Shahram Najm f8c09ac9cb Spelling 2016-12-29 13:04:54 +00:00
Shahram Najm 829db739b1 Added Python function codes_new_from_samples which takes the product kind 2016-12-22 14:34:06 +00:00
Shahram Najm 4dd7984816 PEP8 compliance 2016-12-22 11:15:22 +00:00
Shahram Najm eddd6ac403 Pylint fixes 2016-12-21 18:37:35 +00:00
Daniel Lee 1e5c817ead Merge branch 'develop' into feature/SUP-1862-high-level-python-bufr
Conflicts:
	examples/python/high_level_api.py
	python/eccodes/high_level/gribfile.py
	python/eccodes/high_level/gribmessage.py
2016-12-21 13:55:41 +01:00
Daniel Lee 7d9a9defd4 Inherit docstrings 2016-12-21 11:43:46 +01:00
Daniel Lee ce1279bc5b Add high-level BUFR interface. 2016-12-21 11:43:21 +01:00
Shahram Najm 0b57ab90e6 Revert ECC-370: Now we have the high-level Python interface 2016-12-19 16:01:13 +00:00
Shahram Najm 35d5bffa36 SUP-1861: High level Python API for GRIB in ecCodes 2016-12-19 14:53:34 +00:00
Shahram Najm 6140e70a7b Merge pull request #8 in ECCODES/eccodes from ~ERGET/eccodes:feature/SUP-1861-high-level-python-grib to develop
* commit 'f80d1d58a4928f88a23219aa217248152a1d79bf':
  Cleanup imports
  SUP-1861: Add high-level GRIB interface
2016-12-19 13:47:42 +00:00
Shahram Najm 29d2c130c1 Fix broken Python tests for: -DBUILD_SHARED_LIBS=OFF -DENABLE_MEMFS=ON 2016-12-16 18:31:59 +00:00
Daniel Lee a79e5cf2e5 Implement CodesMessage abstract class 2016-12-16 14:31:20 +01:00
Daniel Lee 613f5147ef Extract general GribFile functions into CodesFile class for reuse with BUFR 2016-12-15 20:05:13 +01:00
Daniel Lee c18644ffed Merge branch 'develop' into feature/SUP-1862-high-level-python-bufr 2016-12-15 18:13:15 +01:00
Daniel Lee f80d1d58a4 Cleanup imports 2016-12-15 17:36:58 +01:00
Daniel Lee ef2eddf009 SUP-1861: Add high-level GRIB interface 2016-12-15 14:27:44 +01:00
Shahram Najm 53e5d46ba1 Change error description: memory allocation error 2016-12-15 11:51:47 +00:00
Shahram Najm 9304e8e592 ECC-380: eccodes attempts to link to openjpeg 1.X library if found 2016-11-11 11:56:01 +00:00
Florian Rathgeber 3f84e10869 ECC-380 Do not link OpenJPEG in Python extension module 2016-11-10 18:40:29 +00:00
Florian Rathgeber a8c8858a10 ECC-296 Use DESTDIR as --root when installing Python bindings 2016-10-28 13:20:56 +01:00
Shahram Najm 81ead52e81 ECC-370: Python: codes_set should handle both scalars and arrays 2016-10-27 17:44:38 +01:00
Florian Rathgeber f7eefee4fc ECC-296 Respect DESTDIR when installing Python bindings 2016-10-27 15:10:42 +01:00
Shahram Najm 9b1b3c5f1a ECC-369: Exclude internal errors from Python exceptions 2016-10-27 11:29:11 +01:00
Shahram Najm 5c53501562 ECC-369: Differentiate exception types in Python interface 2016-10-26 14:34:38 +01:00
Shahram Najm 9c696c00cf codes_bufr_copy_data documentation 2016-10-18 14:01:21 +01:00
Shahram Najm b338d094a4 Examples: compiler warnings 2016-10-18 11:55:43 +01:00
Enrico Fucile cc94b5a074 added C and F90 examples changed bufr_copy_data and added bufr_copy_data_return_copied_keys ECC-357 2016-10-18 11:43:42 +01:00
Shahram Najm dc3ea57489 ECC-357: codes_bufr_copy_data in Python 2016-10-18 10:44:14 +01:00
Tiago Quintino 563d384cca Rename the CMake target to avoid clashes inside bundles 2016-09-28 12:29:34 +01:00
Shahram Najm c3af7e550a ECC-320: bufr_dump -Dpython 2016-09-14 11:54:57 +01:00
Florian Rathgeber 0052b7b682 ECC-296 Build extension module and install as separate execute_process 2016-09-09 17:47:28 +01:00
Florian Rathgeber 2e7b10fb12 ECC-296 Python: fix target location for extension module 2016-09-09 17:12:50 +01:00
Florian Rathgeber 4745135fc1 ECC-296 Python: do not prepend DESTDIR to install RPATH 2016-09-09 17:11:46 +01:00
Florian Rathgeber fc4e391a1c ECC-296 Set AEC_DIR if AEC was found 2016-09-07 13:19:28 +01:00
Florian Rathgeber 08ef88949d ECC-296 Explicitly call build_ext with the install RPATH 2016-09-07 12:57:10 +01:00
Florian Rathgeber dc087a955e ECC-296 Use runtime_library_dirs 2016-09-07 12:52:24 +01:00
Florian Rathgeber de82e9c001 ECC-296 Python extension module needs no 3rd party library includes 2016-09-07 12:50:49 +01:00
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