Commit Graph

381 Commits

Author SHA1 Message Date
Shahram Najm d4f030225a Examples: comments/err msgs 2020-06-01 20:21:53 +01:00
Shahram Najm e333ce8d37 Testing: Fix Windows build (fseeko/ftello) 2020-05-28 21:53:57 +01:00
Shahram Najm dd42ed5274 Testing: fix dependency 2020-05-28 18:44:40 +01:00
Shahram Najm 34eed7f741 Testing: refine test for codes_grib_multi_support_reset_file 2020-05-28 18:10:56 +01:00
Shahram Najm 1f99dc511d Examples: write errors to stderr 2020-05-14 20:21:31 +01:00
Shahram Najm fb36d2661b Examples: write errors to stderr 2020-05-14 19:57:06 +01:00
Shahram Najm 8603d3a8bc Testng: remove the redirect 2020-05-14 18:29:45 +01:00
Shahram Najm e6d8cbc15b Memory leak in expanded descriptors 2020-05-05 10:52:05 +01:00
Shahram Najm 9359aedc31 Free handle 2020-05-04 12:25:19 +01:00
Shahram Najm d08ced8000 Testing: Add variables to test products supported 2020-03-30 16:17:36 +01:00
Shahram Najm 0a874742a4 CMake style 2020-03-30 14:07:31 +01:00
Shahram Najm 57b9dabc52 Tests/Examples: Memory leak 2020-03-29 19:54:08 +01:00
Shahram Najm a85fd56731 Clang tidy warnings 2020-03-26 11:11:00 +00:00
Shahram Najm 9222fe2873 ECC-992: Adjust min. limit for 247 2020-02-20 12:03:49 +00:00
Shahram Najm 8744f5ca25 Examples: Fix memory leaks 2020-02-12 12:20:07 +00:00
Shahram Najm 01ba1e5a93 Clang static analyser: Uninitialized argument value 2020-02-11 11:50:50 +00:00
Shahram Najm d0ac1e6cdc Clang static analyser: Uninitialized argument value 2020-02-10 17:49:54 +00:00
Shahram Najm 1f545e1a0f Clang static analyser: Allocator sizeof operand mismatch 2020-02-10 17:10:11 +00:00
Shahram Najm ea8b5bde4c Examples: Fix memory leaks 2020-02-06 11:17:06 +00:00
Shahram Najm 4146ee6b09 Examples: Fix memory leaks 2020-02-06 11:08:28 +00:00
Shahram Najm a0c038f2c4 Examples: Fix memory leaks 2020-02-06 10:52:57 +00:00
Shahram Najm 12c6150917 Copyright notices: use new format 2020-01-28 14:32:34 +00:00
Shahram Najm 924d6774d5 Examples: fix memory leak 2020-01-23 12:17:03 +00:00
Shahram Najm 42453ffbd7 Applied clang-format (Part 3) 2020-01-22 14:57:43 +00:00
Shahram Najm 969ed8934e Testing: unset ECCODES_DEFINITION_PATH when MEMFS defined 2020-01-16 14:40:06 +00:00
Shahram Najm ddc64487a9 Windows: bufr_copy_data enabled 2019-12-30 16:43:36 +00:00
Shahram Najm 0fb2799ecd Windows: Disable failing tests (temporarily) so GitHub CI succeeds 2019-12-18 11:23:50 +00:00
Shahram Najm f7c372f6ce Tests: grib_nearest 2019-12-14 21:37:13 +00:00
Shahram Najm 381ea98379 ECC-499: example 2019-12-12 18:00:56 +00:00
Shahram Najm b2a1cc813a ECC-499: function grib_nearest_find to get the indexes but not the values 2019-12-12 17:33:56 +00:00
Shahram Najm 395a3a52e4 Windows test failures: use binary mode for opening GRIBs 2019-12-10 17:56:27 +00:00
Shahram Najm 7403ae68fa Windows test failures: use binary mode for opening GRIBs 2019-12-10 16:27:44 +00:00
Shahram Najm 2743b6f524 Fix includes: IWYU 2019-11-07 12:03:45 +00:00
Shahram Najm 51754a218a Spelling 2019-10-15 10:34:47 +01:00
Shahram Najm ba524c3218 GRIB encoding: keep values reasonable for examples/tests 2019-10-11 13:35:01 +01:00
Shahram Najm 865e9b1ca6 Merge develop 2019-09-05 10:53:20 +01:00
Shahram Najm f4ba853635 Testing: check encoded values 2019-08-12 13:19:21 +01:00
Shahram Najm 35d7533d71 Tests for header/footer check 2019-07-31 12:45:15 +01:00
Shahram Najm bc67a0cadd Fix comments 2019-07-23 18:23:46 +01:00
Shahram Najm 726ee4953e Merge develop 2019-07-22 13:11:31 +01:00
Shahram Najm b5c06c0257 Rename example 2019-07-22 11:15:42 +01:00
Shahram Najm e74382911b Merge from develop 2019-07-04 13:05:33 +01:00
Shahram Najm 8616c07c53 ECC-938: BUFR keys iterator: key 'ident' from ECMWF local header is not included 2019-06-06 16:55:03 +01:00
Shahram Najm bdf2b02b49 Add codes_get_product_kind 2019-05-17 15:02:58 +01:00
Shahram Najm dcf7fa0b56 Tests: Rename 2019-04-17 17:22:14 +01:00
Shahram Najm 4346efcf94 Tests: Add grib nearest multiple test 2019-04-17 15:58:24 +01:00
Shahram Najm a1e725be9a Example: codes_grib_nearest_find_multiple 2019-04-17 12:54:16 +01:00
Shahram Najm 02e934b688 Copyright updated 2019-04-15 14:44:45 +01:00
Shahram Najm a77570cd19 C examples: binary open 2019-03-11 12:53:05 +00:00
Shahram Najm 4430798914 Testing: Add basic test for product kind of samples 2019-02-25 10:54:06 +00:00
Shahram Najm f9aa4a12cd Windows support: merge branch dtip-windows from Github 2019-01-07 16:13:48 +00:00
Shahram Najm 0cbfa864a5 ECC-856: BUFR - length of string attribute not correct if used with subset section 2018-12-18 11:16:34 +00:00
Shahram Najm 796f52f01d Merge from develop 2018-12-06 12:56:51 +00:00
Shahram Najm 07dbcf3b36 ECC-763: Break tests into two sets... 2018-10-23 16:33:07 +01:00
Shahram Najm 3eadeaa7be ECC-745: bufr_compare performance: speed up by skipping extra key attributes 2018-09-06 15:13:33 +01:00
Shahram Najm 76fd217e70 Remove environment variable. Add 'set -x' to print trace of commands 2018-08-15 12:00:07 +01:00
Shahram Najm 18a2c281de Merged develop into this branch 2018-08-07 16:00:29 +01:00
Shahram Najm eb7e4e0a58 Compiler warnings 2018-07-20 14:16:37 +01:00
Shahram Najm b0cd1e03d1 Enable -Werror=declaration-after-statement 2018-07-20 11:38:36 +01:00
Shahram Najm 75120573f7 cppcheck warnings 2018-07-12 17:54:32 +01:00
Shahram Najm 4b97f0de71 ECC-604: Verify output from test 2018-05-02 16:01:30 +01:00
Shahram Najm b35532d6a3 ECC-674: Examples: typo in bufr_read_scatterometer.f90 2018-04-14 17:09:42 +01:00
Shahram Najm 4f5d17f849 Compiler warnings 2018-01-19 16:20:59 +00:00
Shahram Najm 30b705b8da Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
Shahram Najm d0d2832193 Testing: test must not pass if no data got downloaded 2017-12-18 17:11:42 +00:00
Shahram Najm 167f2918c4 ECC-590: add encoding in test 2017-11-21 13:07:17 +00:00
Shahram Najm 6038cc9062 ECC-590: Clang ThreadSanitizer error: data race on expanded_descriptor_list_push 2017-11-20 11:48:41 +00:00
Shahram Najm 944e9858cf Testing: add more output 2017-11-16 17:19:03 +00:00
Shahram Najm 754f2f767d Examples: Add BUFR get string array 2017-10-02 14:44:26 +01:00
Shahram Najm 58d343eb4f Examples: Add BUFR get string array 2017-10-02 14:28:12 +01:00
Shahram Najm 36411da09f ECC-544: Clean up 2017-09-22 14:25:21 +01:00
Shahram Najm 18640bcd47 Compiler warnings: Intel 2017-09-01 17:35:30 +01:00
Shahram Najm b291dc6b6f Clang compiler warnings 2017-08-25 17:26:08 +01:00
Shahram Najm fd81b9a736 Compiler warnings 2017-06-21 19:21:58 +01:00
Shahram Najm 3cee05a2d6 Compiler warnings 2017-05-02 17:59:04 +01:00
Shahram Najm 65583ffa4a Examples: missingValue and GRIB lat/lon iterator 2017-04-19 13:58:39 +01: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 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 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 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 940cee8c37 ECC-418: Fortran and Python codes_bufr_keys_iterator (Part 3: C example) 2017-01-26 17:45:46 +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 cc73e100af Update copyright notices: 2016 -> 2017 2017-01-03 11:03:48 +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 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 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 50a76b07b1 Use codes_ prefix rather than grib_ 2016-10-25 11:42:20 +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 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 97e5cb9f2b ECC-331: grib_get_size returns incorrect size for GRIB 1 'reservedNeedNotBePresent' key 2016-09-15 15:03:33 +01:00
Shahram Najm c9004a56b6 Fix spelling errors in example code 2016-09-13 17:48:52 +01:00
Enrico Fucile d2b1d3e87b ECC-292 ECC-298 2016-07-19 11:52:55 +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 e85e3e5790 Tests: Check output 2016-07-06 13:06:31 +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 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 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 800391d0ce Add copyright notice 2016-04-13 16:12:21 +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 363d3e2b7a Rename tests 2016-03-29 11:16:29 +01: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 a3b724b1c7 Fix compiler warnings (with NDEBUG) 2016-02-11 18:39:35 +00:00
Shahram Najm 007db04e67 Remove compiler warnings (unused-but-set-variable) 2016-01-22 15:56:02 +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 d1bc3de185 Improve examples 2015-12-29 16:37:03 +00:00
Shahram Najm c4a2f548f9 Cleanup 2015-12-22 17:55:45 +00:00
Shahram Najm 2a168ac30d Remove compiler warnings (using clang) and code clean up 2015-12-18 18:01:56 +00:00
Shahram Najm 161c8dfde1 Check package compiles and links with g++ 2015-12-03 14:35:55 +00:00
Shahram Najm 3e31de7a59 Add description to examples 2015-11-11 17:53:52 +00:00
Shahram Najm 0b275fe45d Add valgrind support (by default commented out) 2015-11-05 11:14:41 +00:00
Shahram Najm 72705b0e28 Fix compiler warning 2015-10-28 17:35:25 +00:00
Enrico Fucile 384164a9ca ECC-167 2015-10-28 16:07:41 +00:00
Enrico Fucile bd4385fce0 ECC-53 ECC-163 2015-10-28 11:46:53 +00:00
Shahram Najm f71808a281 Move check_gaussian_grid.c from examples to tools 2015-09-25 17:09:27 +01:00
Shahram Najm bcc33f4cfe Add check for reduced GG: iDirectionIncrement must be missing 2015-09-23 15:30:30 +01:00
Enrico Fucile fb7434b671 ECC-147 and part ECC-133 2015-09-03 15:49:24 +01:00
Enrico Fucile c67997cdcf ECC-137 2015-08-27 16:01:17 +01:00
Shahram Najm 36cca9a5a3 Use relative path for temp file 2015-08-14 11:39:10 +01:00
Shahram Najm 004460c333 Increase size of string array for gridType 2015-08-12 14:40:45 +01:00
Shahram Najm 03bdf4f77c GRIB-813: grib_nearest_find does not work on successive calls for Lambert grid 2015-08-11 14:00:45 +01:00
Shahram Najm 37611fcf71 CMake tests: prepend name of package 2015-07-14 17:11:57 +01:00
Shahram Najm a3be715b5c Refactoring C example 2015-07-07 17:50:09 +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