Commit Graph

446 Commits

Author SHA1 Message Date
Shahram Najm 940cee8c37 ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 3: C example) 2017-01-26 17:45:46 +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 f3dfab8a75 ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 1: F90) 2017-01-26 15:50:09 +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 67df26b665 Examples: cleanup 2017-01-17 17:10:22 +00:00
Shahram Najm 66ff19382e Examples: use codes_ prefix 2017-01-12 17:46:58 +00:00
Shahram Najm 93502a13b0 Examples: use codes_ prefix 2017-01-11 13:58:06 +00:00
Shahram Najm 05c9bf5bc0 Example/Test: grib_get_double_elements 2017-01-05 13:50:08 +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 45da446e2f ctest with valgrind. Env var ECCODES_TEST_WITH_VALGRIND 2016-12-30 14:28:43 +00:00
Shahram Najm c57a42f26f Testing with valgrind. Env var ECCODES_TEST_WITH_VALGRIND 2016-12-30 13:40:04 +00:00
Shahram Najm b467b01c3a Test clean ups 2016-12-30 11:48:55 +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 3a3255cd2f API example: grib_set_data for Fortran 2016-11-21 15:15:28 +00:00
Shahram Najm d36ea27f48 Pthread examples 2016-11-21 14:03:17 +00:00
Shahram Najm bd289bc8fd Documentation 2016-11-21 13:10:21 +00:00
Shahram Najm ff90dd1d08 ECC-387: Thread safety for BUFR decoding (Part 1) 2016-11-18 20:20:59 +00:00
Shahram Najm 76c9b0a383 BUFR decoding thread safety test 2016-11-18 18:09:15 +00:00
Shahram Najm c4b2515c07 BUFR decoding thread safety test 2016-11-18 18:09:04 +00:00
Shahram Najm c183d10c8f Add test for grib_copy_namespace 2016-11-10 18:04:54 +00:00
Shahram Najm 88ecf50464 Fortran example for codes_copy_key 2016-11-10 17:05:02 +00:00
Shahram Najm 07b7d581db ECC-378: Added test 2016-11-04 17:53:49 +00: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 50a76b07b1 Use codes_ prefix rather than grib_ 2016-10-25 11:42:20 +01:00
Shahram Najm 4ef4fba3d3 Remove unused variables 2016-10-19 16:46:53 +01:00
Shahram Najm 1f157c978e ECC-361: Test failure: bufr_copy_data F90 example with PGI compiler 2016-10-19 16:04:51 +01:00
Shahram Najm 53c28d9491 Clean up 2016-10-18 18:23:33 +01:00
Shahram Najm 96f2015f0b ECC-357: Added Python example 2016-10-18 17:59:04 +01:00
Shahram Najm af89fc253e Examples: path of input BUFR too long and hits Fortran limit (codes_open_file fails!) 2016-10-18 13:41:59 +01:00
Shahram Najm e186966efc Examples: improve test for bufr_copy_data 2016-10-18 13:23:56 +01:00
Shahram Najm 9eba55f1c2 Examples clean up 2016-10-18 11:55:14 +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 c434863021 Added Python example for grib_ls JSON output 2016-09-30 17:48:19 +01:00
Shahram Najm a4e7cc4cfa Move old examples into deprecated dir 2016-09-27 17:32:29 +01:00
Shahram Najm d14b316949 Move old examples into deprecated dir 2016-09-27 17:32:00 +01:00
Shahram Najm 97e5cb9f2b ECC-331: grib_get_size returns incorrect size for GRIB 1 'reservedNeedNotBePresent' key 2016-09-15 15:03:33 +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 ba9b0291d4 ECC-200: Update of generated html dir 2016-08-25 19:08:19 +01:00
Shahram Najm 464052db63 ECC-200: Python links to confluence 2016-08-25 18:25:36 +01:00
Shahram Najm f596aaa234 Examples: rename samples.f90 to grib_samples.f90 2016-08-25 17:06:47 +01:00
Shahram Najm 6025b8ba83 Examples: rename set_missing.f90 to grib_set_missing.f90 2016-08-25 16:48:21 +01:00
Shahram Najm 42e265292f Examples: rename copy_message.f90 to grib_copy_message.f90 2016-08-25 16:28:20 +01:00
Shahram Najm 7b058f3e8d Fix issue with grib_set mars.type and trailing spaces in F90 character variable 2016-08-24 11:07:15 +01:00
Shahram Najm 7c0b513069 Remove redirect to dev/null in case of errors 2016-08-03 16:32:15 +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
Enrico Fucile fc57339ead Merge branch 'develop' of ssh://software.ecmwf.int:7999/eccodes/eccodes into develop 2016-07-19 11:53:03 +01:00
Enrico Fucile d2b1d3e87b ECC-292 ECC-298 2016-07-19 11:52: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 084cd7b0d0 F90 example clean up 2016-07-13 17:10:34 +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 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 2e532c7fe2 F90 examples: fix unbound variable in script 2016-06-23 13:33:17 +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 9b2f4ac26e Fortran examples: remove unused variables 2016-06-21 14:58:04 +01:00
Shahram Najm a45fe9dca0 ECC-277: F90 Examples: replace 'double precision' with 'real(8)' 2016-06-21 11:02:46 +01:00
Enrico Fucile b4561a903c improved comments in example 2016-06-17 09:46:44 +01:00
Enrico Fucile 26a7a59e69 Added new fortran function codes_get_string_array and example/F90/bufr_get_string_array.f90 ECC-269 2016-06-16 11:47:16 +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 c72ff29aec Tests: don't suppress output 2016-06-01 18:20:19 +01:00
Shahram Najm 9215fd0905 No need for redirecting output. Ctest is silent by default 2016-06-01 17:51:31 +01:00
Shahram Najm 922e65f3b8 Initial support for Python3: use 'as' for exception catching 2016-06-01 16:15:50 +01:00
Shahram Najm 5beceb0b97 Clean up 2016-05-24 16:21:55 +01:00
Shahram Najm ef2cd675b6 Update Pthreads C example 2016-05-24 14:30:38 +01:00
Shahram Najm 7a4a3d12d0 Add Pthreads C example/test 2016-05-24 14:27:46 +01:00
Shahram Najm e5ee658dde Remove unused macros 2016-04-29 18:32:32 +01:00