Commit Graph

475 Commits

Author SHA1 Message Date
Shahram Najm fd81b9a736 Compiler warnings 2017-06-21 19:21:58 +01:00
Shahram Najm 17885b337f Performance: remove the label statements or use underscore so grib_push_accessor does not add them to cache 2017-06-14 15:33:37 +01:00
Shahram Najm b0270c53f9 Python: rename environment variable 2017-06-12 16:05:42 +01:00
Shahram Najm 2a40fc0e0f Fix broken test: new BUFR key has been added 2017-05-19 15:01:17 +01:00
Shahram Najm 8128d3fbe9 Message during cmake 2017-05-09 11:15:51 +01:00
Shahram Najm 3cee05a2d6 Compiler warnings 2017-05-02 17:59:04 +01:00
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
Shahram Najm 9187dc093f Clean up 2017-03-10 15:48:34 +00:00
Shahram Najm e3eccf1fe7 ECC-426: GRIB and BUFR centre: use common code tables C-1 and C-11 2017-02-16 18:08:25 +00:00
Shahram Najm 0294edc8f4 Examples: bufr_copy_data 2017-02-07 16:04:38 +00:00
Shahram Najm 650e6ce857 Examples: remove calls to dump (users confused by output) 2017-02-07 11:24:10 +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 e769ac8fd8 Clean up 2017-02-06 16:46:28 +00:00
Shahram Najm 2e025d7623 Clean up 2017-02-06 16:45:30 +00:00
Shahram Najm cedbb52292 ECC-424 2017-02-06 11:28:12 +00:00
Shahram Najm bce6d80376 ECC-424: codes_bufr_keys_iterator rework (part 1) 2017-02-03 15:44:03 +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 804e9ac571 The keys iterator delete function should free the strings 2017-02-02 18:41:42 +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 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