Commit Graph

426 Commits

Author SHA1 Message Date
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
Shahram Najm c942f1ccdc ECC-254: grib_handle_new_from_message should take const data pointer 2016-04-29 16:32:22 +01:00
Shahram Najm 6db3a825b3 GRIB-576: grib_close_file() segmentation fault when closing a file 2016-04-28 12:31:11 +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 719c76f177 Rename F90 test: count_messages -> grib_count_messages 2016-04-27 17:23:14 +01:00
Shahram Najm 50418a0634 GRIB-395: example 2016-04-27 17:03:24 +01:00
Shahram Najm f3cb55b49e GRIB-395: grib_count_in_file() function does not support multi-field messages 2016-04-27 16:50:17 +01:00
Shahram Najm 800391d0ce Add copyright notice 2016-04-13 16:12:21 +01:00
Shahram Najm dee9bd014b Fix compiler warnings (using INTEL) 2016-04-13 14:50:27 +01:00
Shahram Najm b479ed65d0 ECC-221: add tests for 'new_from_message' functions (Part 2) 2016-04-06 18:13:31 +01:00
Shahram Najm 63b58cb710 Fixes for F90 example and python setup 2016-04-04 16:53:25 +01:00
Shahram Najm c52a42ac77 Rename test 2016-03-30 10:37:34 +01:00
Shahram Najm cbe07a5456 ECC-221: add tests for 'new_from_message' functions (Part 1) 2016-03-29 18:56:11 +01:00
Shahram Najm 128d233f3f ECC-237: eccodes interface incompatible with grib_api (allocatable) 2016-03-29 15:47:55 +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
Shahram Najm 583a6296d3 GRIB-932: Crash: using keys iterator with skip duplicates 2016-02-26 11:21:27 +00:00
Shahram Najm 1684f93b3c Fix incorrect bitwise OR operator 2016-02-25 17:45:09 +00:00
Shahram Najm c47980458b Removed obsolete F77 examples (no more support for Fortran 77) 2016-02-16 16:09:16 +00:00