Commit Graph

288 Commits

Author SHA1 Message Date
Shahram Najm 13cedb45a7 ECC-461: more tests 2017-05-02 14:45:09 +01:00
Shahram Najm dbc49cc0e8 ECC-461: Python: GribMessage class to allow multiple keys to be set 2017-05-02 14:06:58 +01:00
Shahram Najm 06d01c2674 Pythonic interface for BUFR. User must call unpack() before key iterator 2017-04-25 11:52:11 +01:00
Shahram Najm 5fb2b84c0e ECC-451: new pythonic interface segv 2017-04-24 17:59:32 +01:00
Shahram Najm a2590c675c ECC-452: BUFR copy_data test (for now disabled) 2017-04-24 14:34:23 +01:00
Shahram Najm 65583ffa4a Examples: missingValue and GRIB lat/lon iterator 2017-04-19 13:58:39 +01:00
Shahram Najm 751db43e2e API Example: Python using ordered dict 2017-04-10 17:30:34 +01:00
Shahram Najm 10b4653c20 ECC-448: codes_new_from_message does not set product_kind on handle 2017-03-21 15:11:45 +00:00
Florian Rathgeber fad6f076d7 Remove trailing / from examples_src 2017-02-03 14:38:47 +00:00
Florian Rathgeber 79e277db1a Remove trailing / from examples_dir 2017-02-03 14:37:12 +00:00
Florian Rathgeber 710d01c7bc Remove trailing / from tools_dir 2017-02-03 14:34:13 +00:00
Florian Rathgeber 32c8dc9325 ECC-106 Use ECCODES_{DEFINITION,SAMPLES}_SUFF in example scripts 2017-02-03 13:50:40 +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 fb2d1e8bfd Remove codes_bufr_keys_iterator_get_next_attribute_name 2017-01-24 17:19:40 +00:00
Shahram Najm a7280e2069 Examples: Python Index 2017-01-23 11:14:40 +00:00
Shahram Najm ecb3f44076 CMake: print message only if Python enabled 2017-01-20 17:11:28 +00:00
Shahram Najm ae140b9fb6 Python examples 2017-01-03 11:24:37 +00:00
Shahram Najm cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +00:00
Shahram Najm af5c303602 Python examples: use Context Manager 2016-12-30 17:19:44 +00:00
Shahram Najm 908de222c2 Python examples: cleanup 2016-12-30 17:19:21 +00:00
Shahram Najm 96c3fc0b97 Tests: Pythonic GribIndex error message 2016-12-30 15:56:15 +00:00
Shahram Najm 37820bc701 Improved comments 2016-12-29 15:53:10 +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 624ba213f0 ECC-402: codes_set does not set localLongitude in BUFR to correct value 2016-12-29 13:27:35 +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 05776fe132 Fix broken test related to ECC-402 2016-12-22 11:08:11 +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 ce1279bc5b Add high-level BUFR interface. 2016-12-21 11:43:21 +01:00
Daniel Lee d063285b70 Make test robust to new keys 2016-12-21 10:13:38 +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 8c49b4bc5d Testing: add test for grib_set_pv in Python 2016-12-19 16:00:06 +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
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 ef2eddf009 SUP-1861: Add high-level GRIB interface 2016-12-15 14:27:44 +01:00
Shahram Najm c791ee1c82 Testing: add test for C ensemble index example 2016-11-04 17:11:30 +00:00
Shahram Najm 81ead52e81 ECC-370: Python: codes_set should handle both scalars and arrays 2016-10-27 17:44:38 +01:00
Shahram Najm 96f2015f0b ECC-357: Added Python example 2016-10-18 17:59:04 +01:00
Shahram Najm 9eba55f1c2 Examples clean up 2016-10-18 11:55:14 +01:00
Shahram Najm c434863021 Added Python example for grib_ls JSON output 2016-09-30 17:48:19 +01:00
Shahram Najm 5b77ec080f Python examples: use 'bufr' rather than 'gid' 2016-09-14 13:54:10 +01:00
Shahram Najm c3af7e550a ECC-320: bufr_dump -Dpython 2016-09-14 11:54:57 +01:00
Shahram Najm c9004a56b6 Fix spelling errors in example code 2016-09-13 17:48:52 +01:00
Shahram Najm 464052db63 ECC-200: Python links to confluence 2016-08-25 18:25:36 +01:00
Shahram Najm c38ecd0637 Testing: Added new python test 2016-08-03 14:10:15 +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 c56d31b61c Print test output in verbose ctest mode 2016-08-02 17:18:26 +01:00
Shahram Najm 1d45d20c93 ECC-293: bufr_dump -Epython (Part 04). Added test 2016-08-02 11:42:55 +01:00
Shahram Najm 6710163879 ECC-296: Use Python distutils to install Python modules 2016-07-18 16:35:25 +01:00
Shahram Najm 30510802b3 Python CCSDS test 2016-07-18 14:58:18 +01:00
Shahram Najm 1ec64a0e54 Update final message text 2016-07-18 14:57:54 +01:00
Florian Rathgeber 58affc60a8 ECC-296 No longer add source tree to PYTHONPATH 2016-07-14 08:48:21 +01:00
Shahram Najm 48da0bdb61 Tests: Check output 2016-07-06 13:15:43 +01:00
Shahram Najm e85e3e5790 Tests: Check output 2016-07-06 13:06:31 +01:00
Shahram Najm 366bd1ff3d ECC-283: Add functions to Python interface 2016-06-29 16:40:28 +01:00
Marijana Crepulja 3cecd2d0bb ECC-276 ECC-273 ECC-274: WMO v26 short name changes 2016-06-23 17:33:03 +01:00
Shahram Najm 836a0cd7c9 Clean up 2016-06-21 16:37:14 +01:00
Shahram Najm bfcc2e150f Python example: Add assert for Ni/Nj before allocating 2016-06-21 16:37:04 +01:00
Shahram Najm 0ba065f462 Python3 initial support. Writing to stderr 2016-06-14 11:55:48 +01:00
Shahram Najm d684bd7860 Python example: improve documentation 2016-06-03 11:28:00 +01:00
Shahram Najm 922e65f3b8 Initial support for Python3: use 'as' for exception catching 2016-06-01 16:15:50 +01:00
Shahram Najm 68583c900a Rename test in makefile 2016-04-27 17:41:41 +01:00
Shahram Najm d6520bc3d4 Rename Python test: count_messages -> grib_count_messages 2016-04-27 17:32:11 +01:00
Shahram Najm dee9bd014b Fix compiler warnings (using INTEL) 2016-04-13 14:50:27 +01:00
Shahram Najm 363d3e2b7a Rename tests 2016-03-29 11:16:29 +01:00
Shahram Najm 1ebdc3a54d Add descripton to example 2016-03-10 15:49:04 +00:00
Shahram Najm 1e0e71c1c4 GRIB-944: Add Python example showing how to query the bitmap array 2016-03-10 15:40:18 +00:00
Marijana Crepulja 1ef7c0d743 ECC-214 BUFR WMO tables version 25 2016-02-11 16:39:01 +00:00
Shahram Najm ca80166107 Add more tests for setting bitmap 2016-01-05 14:32:24 +00:00
Shahram Najm 45badf3729 GRIB-902: Update copyright notices: 2015 -> 2016 2015-12-31 12:44:51 +00:00
Shahram Najm d6ffb1f0fb PEP8ify python example 2015-12-29 13:53:51 +00:00
Marijana Crepulja 7a541afa92 tropical cyclone example in python ECC-190 2015-12-23 15:25:57 +00:00
Shahram Najm 96c7846fc3 Suppress error output from tests 2015-12-17 14:01:19 +00:00
Marijana Crepulja 550c3a5cee Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-12-16 11:03:56 +00:00
Marijana Crepulja 981845c12c tc in python ECC-190 2015-12-16 11:03:37 +00:00
Shahram Najm cfef150e19 ECC-196: Update the bufr_read_temp example 2015-12-11 14:14:41 +00:00
Sandor Kertesz 67e7f2e9e1 Adjust scripts generating confluence doc 2015-11-26 09:31:45 +00:00
Shahram Najm 5bf9108ed6 Fix autotools check 2015-11-18 15:48:59 +00:00
Shahram Najm dc90e539e8 Moved Python example for tropical cyclone into subdir to resurrect later 2015-11-18 11:13:05 +00:00
Shahram Najm 358a8a598e PEP8ify python example 2015-11-18 09:53:03 +00:00
Marijana Crepulja cdcf04a6f8 ECC 109 Add description to examples 2015-11-17 14:29:55 +00:00
Marijana Crepulja 35c46307db ECC 109 shell wrapper for python 2015-11-17 14:24:37 +00:00
Marijana Crepulja 6bd79781e3 ECC 109 example for reading tropical cyclone in python 2015-11-17 14:23:30 +00:00
Shahram Najm 92e07e5a38 Clean up python 2015-11-16 14:38:51 +00:00
Shahram Najm 24e1f9ab51 ECC-152: Crash: python codes_set_array() instead of codes_set_double_array() 2015-11-16 12:44:38 +00:00
Shahram Najm 37df7d250f Add the VERBOSE variable 2015-11-16 10:54:07 +00:00
Florian Rathgeber 2c0e9406bc ECC-188 PEP8ify python examples 2015-11-12 15:16:42 +00:00
Enrico Fucile d2309250a1 used BufrTemplate in bufr_encode_flight 2015-11-12 14:24:30 +00:00
Florian Rathgeber 9223729592 ECC-184 Parse first two column as date and time 2015-11-12 13:58:43 +00:00
Florian Rathgeber 19ccb6b296 ECC-184 PEP8ify bufr_encode_flight example 2015-11-12 13:58:25 +00:00
Shahram Najm a01bdaf146 Python examples: PEP8ify 2015-11-11 18:20:31 +00:00
Shahram Najm 3e31de7a59 Add description to examples 2015-11-11 17:53:52 +00:00
Shahram Najm c00cb92f0a ECC-184: rename python example 2015-11-11 10:30:40 +00:00
Shahram Najm a52fda2727 ECC-184: improve python flight encoding example 2015-11-11 10:24:37 +00:00
Shahram Najm 9afebc4ca1 ECC-184: Create python example to read CSV and encode BUFR 2015-11-10 20:45:59 +00:00
Enrico Fucile bd4385fce0 ECC-53 ECC-163 2015-10-28 11:46:53 +00:00
Shahram Najm a278f01138 Python examples: No need to copy python files to build area 2015-10-16 18:17:30 +01:00
Shahram Najm 53de0863c4 Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2015-08-27 16:06:49 +01:00
Shahram Najm e072d9ca9f Tests: clean up and remove unnecessary redirection to /dev/null 2015-08-27 16:06:43 +01:00
Enrico Fucile c67997cdcf ECC-137 2015-08-27 16:01:17 +01:00
Shahram Najm 79664ea975 Cleanup 2015-08-25 11:22:19 +01:00
Shahram Najm 0de8534b85 Add tropical cyclone test 2015-07-29 15:48:10 +01:00
Marijana Crepulja 3c5f89b649 Tropical cyclone python test added for BUFR 2015-07-29 14:42:51 +01:00
Shahram Najm 37611fcf71 CMake tests: prepend name of package 2015-07-14 17:11:57 +01:00
Shahram Najm 9e2af2f8e7 GRIB-786: Cmake performance 2015-07-02 13:02:54 +01:00
Shahram Najm 80f57efcb7 GRIB-786: cmake run is slow due to copying definitions to build dir 2015-06-30 17:18:51 +01:00
Shahram Najm eff8dc5090 GRIB-774: Leak in example 2015-06-01 14:27:47 +01:00
Shahram Najm 5b36903347 ECC-117: Eliminate function codes_is_defined (Part 1) 2015-05-13 13:00:31 +01:00
Enrico Fucile 5f8f69908b solved ECC-85, ECC-118 2015-05-11 14:58:23 +01:00
Shahram Najm 94cba0999a Added python metar test to build 2015-04-22 18:11:56 +01:00
Shahram Najm a11654746a Metar example: metar_get_keys.py 2015-04-22 17:58:21 +01:00
Shahram Najm ce4635c3be Python example: Added shell wrapper script 2015-04-22 12:49:18 +01:00
Enrico Fucile 0067ecc483 added gts_new function in python. Added python gts example. 2015-04-22 11:17:20 +01:00
Sandor Kertesz 0443f8e0f4 Make C, Fortran and Python examples ECC-15 2015-03-26 13:08:22 +00:00
Sandor Kertesz ef6941fded Make C, Fortran and Python examples ECC-15 2015-03-23 17:35:23 +00:00
Sandor Kertesz 5e3a078f67 Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/grib/grib_api into eccodes 2015-03-23 11:04:33 +00:00
Sandor Kertesz 236193de00 Add examples 2015-03-23 11:04:29 +00:00
Shahram Najm e8e7365a5c Tests: make ref files optional 2015-03-20 19:10:26 +00:00
Sandor Kertesz 4297cd350d Make C, Fortran and Python examples ECC-15 2015-03-20 10:41:01 +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 53db8aed2b Pylint 2015-03-18 10:36:56 +00:00
Shahram Najm 1743d505a1 ECC-86: Rename all grib related API examples (Part 13) 2015-03-17 17:39:55 +00:00
Shahram Najm 9e742ccadd Fix conflicts 2015-03-17 16:48:41 +00:00
Shahram Najm a21744156d ECC-86: Rename all grib related API examples (Part 12) 2015-03-17 16:44:58 +00:00
Sandor Kertesz 779228afe3 Make C, Fortran and Python examples ECC-15 2015-03-17 16:21:31 +00:00
Sandor Kertesz 06f1772ed9 Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/grib/grib_api into eccodes
Conflicts:
	confluence/examples.par
	examples/F90/Makefile.am
	examples/python/Makefile.am
2015-03-17 16:20:35 +00:00
Shahram Najm 81011ca5a1 ECC-86: Rename all grib related API examples (Part 10) 2015-03-17 16:17:33 +00:00
Sandor Kertesz 9cebda8b47 Make C, Fortran and Python examples ECC-15 2015-03-17 16:13:20 +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 8cd3291a25 ECC-86: Rename all grib related API examples (Part 8) 2015-03-17 15:41:04 +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
Sandor Kertesz e220456317 Make C, Fortran and Python examples ECC-15 2015-03-17 09:14:03 +00:00
Sandor Kertesz 09a3156f6e Make C, Fortran and Python examples ECC-15 2015-03-16 17:44:37 +00:00
Sandor Kertesz a03f6b08f7 Make C, Fortran and Python examples ECC-15 2015-03-16 15:58:38 +00:00
Shahram Najm 5e40052511 ECC-80: Python example/test 2015-03-12 18:04:42 +00:00
Shahram Najm cb77f3eabc Cleanup 2015-03-12 17:38:43 +00:00
Shahram Najm 49f3e1a0b3 Fix path to tools when in a bundle project 2015-03-10 18:19:51 +00:00
Shahram Najm 549fc7fa3a GRIB-711: CMake build: should not need to download data to compile 2015-03-10 15:52:33 +00:00
Shahram Najm cd4926d964 Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR for tool invocation 2015-03-09 16:22:55 +00:00
Shahram Najm d8ad173c1a Merge branch 'eccodes' of ssh://software.ecmwf.int:7999/GRIB/grib_api into eccodes 2015-03-04 17:39:01 +00:00
Sandor Kertesz 8c57fff608 Resolve key name conflict between BUFR headers and data ECC-69 2015-03-04 17:15:48 +00:00
Shahram Najm bc5b883c21 ECC-10: Creating a handle from a file 2015-03-04 17:11:18 +00:00