Commit Graph

780 Commits

Author SHA1 Message Date
Shahram Najm 6a9b705b37 Documentation 2022-12-28 14:28:58 +00:00
Shahram Najm 8a05412b73 Examples: Check results 2022-12-22 16:46:00 +00:00
Shahram Najm a419f4ae19 Examples: Cleanup 2022-12-22 16:26:01 +00:00
Shahram Najm 55e9287fab Examples: use '%zu' in the format string for size_t 2022-12-21 11:43:38 +00:00
Shahram Najm def66fe512 Testing: Error messages should go to stderr 2022-12-21 11:23:48 +00:00
Shahram Najm ee6a747f18 Examples: Cleanup 2022-12-08 15:06:58 +00:00
Shahram Najm 0644fdc346 Compiler warnings: use '%zu' in the format string for size_t 2022-11-12 13:34:09 +00:00
Shahram Najm 9f71b20f25 ECC-1468: Replace all instances of the deprecated function 'sprintf' with 'snprintf' 2022-11-10 19:18:43 +00:00
Shahram Najm 563ef120e1 Testing: Fix test script shebangs 2022-08-02 15:37:20 +01:00
Shahram Najm f29e6ca366 ECC-1419: C API: codes_fieldset_new_from_files: The 'filenames' argument should be const 2022-06-30 10:28:04 +01:00
Shahram Najm b697f66b2e ECC-1405: Add new function: codes_handle_new_from_samples 2022-06-15 18:21:28 +01:00
Shahram Najm 5d7c42617e Examples: use a more realistic number for missingValue (instead of 9999) 2022-06-01 13:39:30 +01:00
Shahram Najm aede6474df Refactoring: unused variable 2022-05-31 16:54:38 +01:00
Shahram Najm 7eae7f474b ECC-1392: Add tests 2022-05-20 13:45:22 +01:00
Shahram Najm e90a4034bc Examples: fix exception name 2022-05-10 15:07:56 +01:00
Shahram Najm 0945d27154 Remove deprecated autotools makefiles 2022-05-06 13:44:54 +01:00
Shahram Najm 1a16bfef08 ECC-1019: Add test (check -ve numbers) 2022-04-27 17:43:48 +01:00
Shahram Najm 0edd8a5818 ECC-1019: Add test 2022-04-27 17:33:55 +01:00
Shahram Najm 6a4ee75ef2 ECC-1383: Spelling: Accessor 'octect_number' should be 'octet_number' 2022-04-19 16:03:16 +01:00
Shahram Najm 0f94b8f218 Compiler warnings 2022-04-08 16:30:32 +01:00
Shahram Najm 712927ae43 Examples: remove autotools deprecated stuff 2022-04-04 13:35:10 +01:00
Shahram Najm 1a9b698eca Testing: Fieldset and order_by 2022-02-25 18:15:44 +00:00
Shahram Najm 39f511c84e Testing: Fix memory leaks 2022-02-23 19:01:47 +00:00
Shahram Najm 23e5cba453 Testing: C example for fieldset with numeric sorting 2022-02-23 18:36:45 +00:00
Shahram Najm 15c5a0caef ECC-1344: Always call fflush() and fsync() before fclose() of a written file (Part 1) 2022-02-09 19:14:43 +00:00
Shahram Najm 808225ff6d ECC-1335: Makefile 2022-01-31 13:49:52 +00:00
Shahram Najm 399b858db8 ECC-1335: C API: Deprecate functions codes_box_new and codes_box_get_points (Part 1) 2022-01-31 13:48:56 +00:00
Shahram Najm 456297b98f Examples: Unused variable 2022-01-31 10:58:32 +00:00
Shahram Najm 1c444e898d Examples: Fix silly mistake (-Werror=unused-value) 2022-01-31 10:49:42 +00:00
Shahram Najm 1dd08f5e73 Examples: Fix broken test 2022-01-21 17:09:20 +00:00
Shahram Najm c285d95d3a Examples: BUFR radiosonde in C - revised version (From Bruce Ingleby) 2022-01-21 16:38:03 +00:00
Shahram Najm 66a5a0a3a6 Examples: prepBufr messages after numberOfSubsets==0 do not need to be processed 2022-01-20 21:03:24 +00:00
Shahram Najm 2595aa43f0 Examples: add check for output GRIB 2022-01-20 14:39:18 +00:00
Shahram Najm abb7462faf Testing: Fix codes_values_check test (clang sanitizer) 2022-01-17 18:33:53 +00:00
Shahram Najm c39e35ab44 Testing: rename codes_values_check test 2022-01-17 14:10:59 +00:00
Shahram Najm e6479f4f1d Testing: add test for codes_values_check 2022-01-17 13:59:03 +00:00
Shahram Najm 24073921f0 Testing: use numdiff (if available) to check output vs reference 2022-01-17 12:43:21 +00:00
Shahram Najm f76cff08b3 Examples: BUFR radiosonde updated Fortran code (From Bruce Ingleby) 2022-01-12 13:19:11 +00:00
Shahram Najm f1c57fff45 Examples: BUFR radiosonde in Python (Updated by Bruce) 2022-01-11 19:27:41 +00:00
Shahram Najm f215d2bd12 Examples: BUFR radiosonde in C (From Bruce Ingleby) 2022-01-11 14:16:45 +00:00
Shahram Najm 96b5bfdf0c Examples: BUFR radiosonde in C (From Bruce Ingleby) 2022-01-11 12:10:34 +00:00
Shahram Najm 0ade318ebe ECC-1325: Extend 'bufr_keys_iterator' example to determine the subset number 2022-01-05 17:30:36 +00:00
Shahram Najm 1167d799fa ECC-1325: Extend 'bufr_keys_iterator' example to determine the subset number 2022-01-05 17:25:05 +00:00
Shahram Najm 356dc20280 ECC-1316: added test 2021-12-01 22:03:19 +00:00
Shahram Najm 17cf9edcd4 Examples: cppcheck warnings 2021-11-30 13:27:22 +00:00
Shahram Najm 1631acfa9f Examples: cleanup 2021-11-30 13:10:04 +00:00
Shahram Najm 25b20cec5f Examples: cleanup 2021-11-30 13:01:07 +00:00
Shahram Najm 53a870d67b Examples: cleanup 2021-11-30 12:44:37 +00:00
Shahram Najm 006a5dec19 Examples: error conditions 2021-11-25 16:10:17 +00:00
Shahram Najm dc3ed254e3 Examples: Add comments and sanity checks 2021-11-25 14:55:36 +00:00
Shahram Najm 3f42622ee9 Examples: Spelling 2021-11-13 17:40:27 +00:00
Shahram Najm 5a8885fe11 Cppcheck warnings: examples 2021-11-06 21:46:06 +00:00
Shahram Najm e63c3c0ce8 Examples: Cleanup 2021-10-13 16:47:23 +01:00
Shahram Najm 263b7d1519 Examples: Cleanup 2021-10-13 16:37:48 +01:00
Shahram Najm 9ccbe64182 Examples: Use NULL rather than 0 2021-10-13 15:48:19 +01:00
Shahram Najm 20ebd55074 Examples: Python script to check BUFR Table B (formatting, isort, flake8 etc) 2021-10-10 21:07:48 +01:00
Shahram Najm 3200d6f4bc Examples: Python script to check BUFR Table B (only consider first 8 columns) 2021-10-10 20:30:18 +01:00
Shahram Najm d825769d43 Examples: Python script to check BUFR Table B (element.table) files 2021-10-10 18:19:20 +01:00
Shahram Najm e337247173 ECC-1284: use the Fortran REPEAT statement 2021-09-17 18:13:17 +01:00
Shahram Najm b594c9cc65 ECC-1284: clean up 2021-09-16 17:07:38 +01:00
Shahram Najm 8465231143 ECC-1284: bufr_dump: Display of missing strings in arrays 2021-09-16 16:47:25 +01:00
Shahram Najm 280f144111 Examples: Run black formatter 2021-09-15 20:45:34 +01:00
Shahram Najm 6198f46ba2 Examples: Run flake8 checks 2021-09-15 20:36:30 +01:00
Shahram Najm 2db15a68fc Python examples: run isort 2021-09-15 12:28:05 +01:00
Shahram Najm 26195f3973 ECC-1234: Python3 bindings: Remove the experimental high-level interface 2021-09-03 12:44:44 +01:00
Shahram Najm 1d59a71be9 Spelling 2021-08-20 16:09:18 +01:00
Shahram Najm 295cd9c82b Examples: prepBufr table/definition extraction 2021-08-17 16:19:21 +01:00
Shahram Najm 1ec8ed51c4 Examples: remove warning 2021-07-14 17:43:02 +01:00
Shahram Najm cc948be671 ECC-1252: Fortran example: problem compiling grib_read_from_file.f90 2021-06-10 16:05:37 +01:00
Shahram Najm b07bc640b6 ECC-1235: Fortran examples: Show how to convert an error code into a string 2021-04-26 14:10:58 +01:00
Shahram Najm ec67e1293a ECC-1235: Fortran examples: Show how to convert an error code into a string 2021-04-23 13:22:45 +01:00
Shahram Najm 2d08227508 Examples: BUFR radiosonde in Python (From Bruce Ingleby) 2021-04-15 22:51:54 +01:00
Shahram Najm 3ffb386883 Examples: apply flake8 2021-04-15 15:10:46 +01:00
Shahram Najm d4eaaf27e8 Examples: BUFR radiosonde in Python (From Bruce Ingleby) 2021-04-15 14:48:58 +01:00
Shahram Najm 1f06d8f335 Examples: BUFR radiosonde in Python (From Bruce Ingleby) 2021-04-15 14:44:13 +01:00
Shahram Najm 8abad788e3 Remove unused variables 2021-04-14 21:02:10 +01:00
Shahram Najm f47a4a2c1c Examples: BUFR radiosonde updated code (From Bruce Ingleby) 2021-04-14 20:52:22 +01:00
Shahram Najm 418157db49 ECC-1231: Python bindings: Remove the experimental high-level interface 2021-04-11 17:07:02 +01:00
Shahram Najm af98a69aa1 Examples: BUFR radiosonde updated code (From Bruce Ingleby) 2021-04-10 13:11:00 +01:00
Shahram Najm 539932f03d Examples: Fix memory leaks and clean up comments 2021-04-09 13:06:32 +01:00
Shahram Najm 9e52edd4a3 Examples: print error rather than assert 2021-03-21 17:27:14 +00:00
Shahram Najm 637cb42550 CMake: cleanup 2021-03-13 21:10:16 +00:00
Shahram Najm a0485f41b6 Examples: clean up 2021-03-13 14:20:07 +00:00
Shahram Najm 4e4ffc974d Examples: cleanup 2021-03-11 12:22:43 +00:00
Shahram Najm 52db2fb6cb Compiler warnings 2021-02-26 14:27:09 +00:00
Shahram Najm da7e8b3341 Examples: compiler warning -Wmaybe-uninitialized 2021-02-24 22:29:23 +00:00
Shahram Najm d5f43831a7 Examples: Titles 2021-02-23 17:14:11 +00:00
Shahram Najm 9fdc2b50c5 Examples: Fortran formatting (https://github.com/pseewald/fprettify) 2021-02-14 18:14:39 +00:00
Shahram Najm e4ba1cb328 ECC-1198: Examples: grib_iterator should mention the 'bitmapPresent' key 2021-02-11 22:04:00 +00:00
Shahram Najm b8fea9ad21 Testing: listing all codetable and flagtable keys 2021-02-05 15:37:28 +00:00
Shahram Najm 08af171c0a Testing: add Fortran test for encoding with a packingType 2021-01-13 20:52:50 +00:00
Shahram Najm 83d1538b2f Testing: failed on results diff (sappb/PGI) 2021-01-12 18:17:21 +00:00
Shahram Najm 703a69a28b ECC-1187: BUFR: Crash on codes_set_missing() 2020-12-24 20:17:44 +00:00
Shahram Najm 7a14817017 ECC-1185: Crash in codes_context_delete() call (Part 1) 2020-12-22 16:47:23 +00:00
Shahram Najm 99227c95d9 Examples: check output during test 2020-12-17 17:46:50 +00:00
Shahram Najm dff9af14c1 Examples: Fix warnings 2020-12-17 16:55:06 +00:00
Shahram Najm d74af1a173 Examples: counting multi-field messages 2020-12-17 15:07:13 +00:00
Shahram Najm 9a6aa9bd7c ECC-403: BUFR: codes_is_missing reports 1 on keys that are not missing 2020-12-14 13:42:37 +00:00
Shahram Najm 67eb9a087a Examples: BUFR radiosonde data (From Bruce Ingleby) 2020-12-13 16:43:16 +00:00
Shahram Najm 52f75237f6 ECC-403: C and Python API tests 2020-12-11 19:27:33 +00:00
Shahram Najm b50bac9c60 Compiler warnings 2020-12-10 23:21:51 +00:00
Shahram Najm bcd0c0ec00 Examples: fixed print issue thanks to mypy 2020-10-27 18:42:01 +00:00
Shahram Najm 6c1d07d04d Do not allow both GRIB and BUFR support to be disabled 2020-10-20 21:30:54 +01:00
Shahram Najm 8ae8ac63d1 Testing: Split Python high level tests into GRIB and BUFR 2020-10-20 21:11:05 +01:00
Shahram Najm cdda46accf Rename tests 2020-10-20 18:04:01 +01:00
Shahram Najm bc7bc629a6 Rename tests 2020-10-20 17:46:08 +01:00
Shahram Najm a1a66d1705 Rename tests 2020-10-20 17:36:25 +01:00
Shahram Najm 71a7ad6a25 Rename tests 2020-10-20 17:32:02 +01:00
Shahram Najm 4f1b1a6436 ECC-1157: Python 2 support: Rename CMake option ENABLE_PYTHON to ENABLE_PYTHON2 2020-10-15 17:08:25 +01:00
Shahram Najm f8883cc71c Merge branch 'develop' into feature/ecbuild_3.4 2020-09-16 11:32:10 +01:00
Shahram Najm 06590ecd42 Merge branch 'develop' into feature/ECC-1136-BUFR-restrict 2020-08-28 13:28:25 +01:00
Shahram Najm a85d4de9ea Support for ecbuild v3.4. Fix threads/PNG 2020-08-19 17:06:56 +01:00
Shahram Najm 4e9fed3d7d ECC-1142: Clean up 2020-08-08 13:07:16 +01:00
Shahram Najm 9e1221c8f8 ECC-1142: CMake: add option to build tools (ON by default) 2020-08-07 22:36:59 +01:00
Shahram Najm 01701feb84 Testing: move old deprecated code 2020-07-31 15:05:31 +01:00
Shahram Najm c8374590e5 ECC-1136: rename key to restricted 2020-07-22 23:03:18 +01:00
Shahram Najm 2e295d5674 Testing: print full path of script being run 2020-07-19 15:18:57 +01:00
Shahram Najm 34777765b8 Remove obsolete python3 SWIG stuff 2020-07-05 22:40:57 +01:00
Shahram Najm bfd5944f54 Testing: Add label via ecbuild_add_test 2020-07-03 16:09:25 +01:00
Shahram Najm 528010ea0e Testing: Add 'sanity' label for quick essential tests 2020-07-03 15:43:33 +01:00
Shahram Najm 0f85ca65a8 Testing: Add 'sanity' label for quick essential tests 2020-07-03 15:40:05 +01:00
Shahram Najm 53e6ba418a Examples: Add disclaimer 2020-06-25 12:28:34 +01:00
Shahram Najm f952d632c4 Clang: Include what you use 2020-06-09 13:21:21 +01:00
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 f67c83b287 ECC-1094: Implement a way to check if an instance of ecCodes has been compiled with thread support 2020-03-22 19:54:43 +00:00
Shahram Najm d7ead3398e Testing: add missing shell variables 2020-02-20 17:20:35 +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 0bf6d79c0d ECC-1064: Fortran: Implement codes_get_api_version() 2020-01-24 14:27:54 +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