Commit Graph

1049 Commits

Author SHA1 Message Date
Shahram Najm 57b9dabc52 Tests/Examples: Memory leak 2020-03-29 19:54:08 +01:00
Shahram Najm 240786e649 ECC-1055: Add test 2020-03-29 12:51:10 +01:00
Shahram Najm 60fe54c893 Clang tidy warnings 2020-03-26 14:26:17 +00:00
Shahram Najm a85fd56731 Clang tidy warnings 2020-03-26 11:11:00 +00:00
Shahram Najm 413e22aa2f Testing: unit tests 2020-03-25 13:13:19 +00:00
Shahram Najm c0f9493684 Testing: with valgrind 2020-03-22 15:42:16 +00:00
Shahram Najm 110a1ce58a Testing: Add prefix test_dir 2020-03-22 15:08:23 +00:00
Shahram Najm b99927c1e0 Testing: Fix test for valgrind 2020-03-22 15:04:24 +00:00
Shahram Najm 32b2b5a5d9 Testing: Add test for accessor g1fcperiod 2020-03-19 14:13:00 +00:00
Shahram Najm 816f5419f4 ECC-1092: Rename key 'is_rotated_grid' 2020-03-14 12:31:20 +00:00
Shahram Najm 6566e79a79 Add more tests for Julian <-> datetime conversion 2020-03-13 15:17:10 +00:00
Shahram Najm 37044e4dd0 ECC-1086: Copy all good messages + add test 2020-03-04 17:26:01 +00:00
Shahram Najm 339c1a426f ECC-1086: grib_copy/bufr_copy: does not fail in the presence of an invalid message 2020-03-03 17:28:56 +00:00
Shahram Najm 3ac3918224 Clean up 2020-03-03 16:12:42 +00:00
Shahram Najm 8f6471961b Testing: test for MEMFS and definitions path overriding 2020-02-29 14:08:03 +00:00
Shahram Najm 7d628c5c69 Clang static analyser warnings 2020-02-29 13:10:58 +00:00
Shahram Najm cfcb0c764d Testing: Unit tests for basic functions 2020-02-27 13:47:07 +00:00
Shahram Najm 0c9faa8193 Testing: Lambert Conformal 2020-02-27 13:29:29 +00:00
Shahram Najm edc4841f01 Testing: Add test for Lambert Conformal nearest 2020-02-26 13:40:59 +00:00
Shahram Najm 9d815be54c Testing: Add test for Lambert Conformal Geoiterator 2020-02-26 13:06:55 +00:00
Shahram Najm 68d0980e8b ECC-1083: codes_bufr_extract_headers_malloc: Infinite loop when invalid file passed in 2020-02-26 12:11:15 +00:00
Shahram Najm e93e330691 Fix broken test 2020-02-21 21:08:48 +00:00
Shahram Najm 56f025558b Testing: Add test for global gaussian grids during conversion 2020-02-21 16:33:00 +00:00
Shahram Najm 3ecd739af5 ECC-992: Limits update and add test for step 2020-02-20 15:35:37 +00:00
Shahram Najm da23aa8db4 Merge develop 2020-02-20 13:05:36 +00:00
Shahram Najm 9222fe2873 ECC-992: Adjust min. limit for 247 2020-02-20 12:03:49 +00:00
Shahram Najm 55139ff1f6 ECC-805: rebuild key hash 2020-02-19 14:19:22 +00:00
Shahram Najm c190be37de Remove key angularPrecision. Also move true/false down to metar/taf 2020-02-19 11:49:50 +00:00
Shahram Najm 135e448448 Clang static analyser warnings 2020-02-17 11:35:02 +00:00
Shahram Najm 3548d73c67 Raw packing: add grib2 and grib1 tests (with and without bitmap) 2020-02-14 13:36:38 +00:00
Shahram Najm 4cf7431e81 ECC-1075: Added test 2020-02-14 13:16:19 +00:00
Shahram Najm e2605533ce Tests: allow run with valgrind 2020-02-13 12:38:21 +00:00
Shahram Najm e955bc532b Tests: allow run with valgrind 2020-02-13 11:21:00 +00:00
Shahram Najm 86549f88e4 Testing: GTS header 2020-02-10 17:48:41 +00:00
Shahram Najm 04ac0d108d ECC-1070: bufr_dump -O should not unpack the data section 2020-02-10 14:19:42 +00:00
Shahram Najm 40067d2879 Testing: bufr_dump -O debug output 2020-02-10 13:57:40 +00:00
Shahram Najm 02c9cb8ee1 clang address sanitizer suppressions 2020-02-10 13:57:23 +00:00
Shahram Najm f626d05184 Tests: Fix memory leaks 2020-02-10 10:58:53 +00:00
Shahram Najm b0790a156d Examples: Fix memory leaks 2020-02-10 10:31:36 +00:00
Shahram Najm 688caaf6e8 ECC-1067: Add test to catch IFS failure 2020-02-07 14:27:12 +00:00
Shahram Najm 7189929c57 Added ECCODES_EXTRA_SAMPLES_PATH (similar to ECCODES_EXTRA_DEFINITION_PATH) 2020-02-07 13:20:20 +00:00
Shahram Najm dc2f7ece32 clang address sanitizer suppressions 2020-02-06 18:18:52 +00:00
Shahram Najm 17a82d1019 clang address sanitizer suppressions 2020-02-06 16:57:49 +00:00
Shahram Najm 52a199013a Testing: bitsPerValue max limit 2020-02-06 12:31:07 +00:00
Shahram Najm 4146ee6b09 Examples: Fix memory leaks 2020-02-06 11:08:28 +00:00
Shahram Najm efdbd08c66 ECC-992: Add test for decoding limits as doubles 2020-02-06 10:53:54 +00:00
Shahram Najm a1c1166db9 Testing: extra test for bitsPerValue 2020-02-05 16:13:07 +00:00
Shahram Najm 43fcceba52 Rename suppressions file 2020-02-04 23:23:09 +00:00
Shahram Najm 22bcd6ef6f clang address sanitizer suppressions 2020-02-04 16:34:39 +00:00
Shahram Najm 7e08c499ac ECC-1063: Apply consistent code style to source 2020-01-29 12:05:02 +00:00
Shahram Najm ef2e842859 Clang warning: Possible null pointer 2020-01-29 10:52:09 +00:00
Shahram Najm c9ab23baf7 Copyright notices: use new format 2020-01-28 18:07:47 +00:00
Shahram Najm 12c6150917 Copyright notices: use new format 2020-01-28 14:32:34 +00:00
Shahram Najm c05867e471 Data Quality checks: Fix test 2020-01-27 17:02:40 +00:00
Shahram Najm ca594113a6 ECC-1066 and ECC-1067: GRIB encoding: Data quality checks 2020-01-27 13:20:31 +00:00
Shahram Najm ace7546f06 ECC-1065: grib_filter/bufr_filter: Operator '^' (power) argument order wrong 2020-01-24 13:21:21 +00:00
Shahram Najm 5ee60066e4 Testing: fix memory leaks in unit tests 2020-01-23 11:08:28 +00:00
Shahram Najm 93ad5ec863 ECC-1060: Added test 2020-01-20 13:50:14 +00:00
Shahram Najm ef8e8b2069 Testing: Log what tests are being done. Also add test for 'append' 2020-01-13 17:11:18 +00:00
Shahram Najm 69a86fff37 ECC-1018: Reduced size of sample file 2020-01-10 15:40:59 +00:00
Shahram Najm 5153078859 ECC-992: GRIB encoding: Data quality checks (limits) 2020-01-10 12:06:43 +00:00
Shahram Najm fd5fc96577 Testing: Add variable ECCODES_ON_WINDOWS 2020-01-07 16:22:56 +00:00
Shahram Najm b4c74823c9 ECC-1048: Added test 2020-01-07 15:18:28 +00:00
Shahram Najm b3140e9de0 Windows: grib_to_netcdf ctest works now 2020-01-07 11:13:34 +00:00
Shahram Najm 8ce3ef05f9 Windows: Add netcdf.dll location to $PATH for testing 2020-01-07 10:20:34 +00:00
Shahram Najm 74c3fb850f Tests: grib_bitmap.sh and bufr_ecc-197.sh 2019-12-31 19:45:02 +00:00
Shahram Najm 24e40f3779 Tests: add note re masterTablesVersionNumber 2019-12-31 19:08:56 +00:00
Shahram Najm 70bb815a96 BUFR decoding: catch error when getting expandedDescriptors 2019-12-30 18:09:27 +00:00
Shahram Najm ffa003a763 Windows: grib_sh_ieee64 2019-12-30 16:41:13 +00:00
Shahram Najm 693726f23f ECC-802: grid_complex 2019-12-30 16:28:44 +00:00
Shahram Najm 01cf5902b9 Compiler warnings: variable length array used 2019-12-30 13:04:31 +00:00
Shahram Najm 853d6c73ad Testing: check error code 2019-12-30 11:21:16 +00:00
Shahram Najm 3da8e55835 Testing: remove unused BUFR files 2019-12-27 15:04:31 +00:00
Shahram Najm 144a12d62c Windows: enable grib_sh_ieee64 test 2019-12-27 13:09:32 +00:00
Shahram Najm feede5aaca Tests: check bufr_compare input path 2019-12-27 11:53:03 +00:00
Shahram Najm d61c15a5a8 Windows: eccodes_t_bufr_dump_encode_filter now passes 2019-12-24 22:52:50 +00:00
Shahram Najm 2c2e6c0cad Tests: Print out norm on failure 2019-12-24 20:33:53 +00:00
Shahram Najm 8c0018b9a1 Windows: re-enable bufr_ecc-393 2019-12-23 18:37:47 +00:00
Shahram Najm bc5d6751d9 Windows tests: compare tolerance 2019-12-23 18:15:21 +00:00
Shahram Najm 86c2f87902 Windows: re-enable BUFR tests that should now pass 2019-12-23 14:33:46 +00:00
Shahram Najm a7877c6730 ECC-1045: add test 2019-12-20 17:05:52 +00:00
Shahram Najm 969aa9509d Windows: Disable failing tests (temporarily) so GitHub CI succeeds 2019-12-18 18:42:22 +00:00
Shahram Najm 9363da6570 ECC-1041: grib_to_netcdf gives unexpected parameter names 2019-12-18 17:16:33 +00:00
Shahram Najm 2fd17d0773 Windows: Disable failing tests (temporarily) so GitHub CI succeeds 2019-12-18 11:24:21 +00:00
Shahram Najm 0fb2799ecd Windows: Disable failing tests (temporarily) so GitHub CI succeeds 2019-12-18 11:23:50 +00:00
Shahram Najm 4983d0e48d Testing: Windows diff dumps 2019-12-16 15:42:48 +00:00
Shahram Najm 3e19bbe2ce Testing: show diff results when they fail 2019-12-16 14:55:48 +00:00
Shahram Najm ae2540dafb ECC-1018: Encoding and decoding of DIAG pseudo-GRIB messages 2019-12-16 13:58:53 +00:00
Shahram Najm b185e34760 Testing: Don't compare doubles with 10 decimal places 2019-12-16 13:32:22 +00:00
Shahram Najm 0fbd199836 Windows: Use stat rather than fstat 2019-12-16 12:47:29 +00:00
Shahram Najm f7c372f6ce Tests: grib_nearest 2019-12-14 21:37:13 +00:00
Shahram Najm 42aee0ee4a Windows tests 2019-12-13 13:18:15 +00:00
Shahram Najm 928e48e021 Testing: print more diagnostics 2019-12-12 12:28:45 +00:00
Shahram Najm 894ca64bf2 Testing: provide variable to detect if running tests on M$oft Windows 2019-12-12 11:08:31 +00:00
Shahram Najm 190251afe3 Merge changes made by Daniel Tipping 2019-12-11 15:35:13 +00:00
Shahram Najm 51a90f19a3 Windows: disable test which changes ECCODES_DEFINITION_PATH 2019-12-11 15:11:19 +00:00
Shahram Najm 7404b6d748 Windows: deal with dir separators 2019-12-11 14:16:19 +00:00
Shahram Najm c0dec77632 New stdin test requires ENABLE_EXTRA_TESTS 2019-12-11 13:08:08 +00:00
Shahram Najm 539c9c2b17 Separate the tests on stdin which fail on M$oft Windows 2019-12-11 12:57:16 +00:00
Shahram Najm 7403ae68fa Windows test failures: use binary mode for opening GRIBs 2019-12-10 16:27:44 +00:00
Shahram Najm 13ead71c10 Windows test failures: use binary mode for opening GRIBs 2019-12-10 16:06:34 +00:00
Shahram Najm 8cdb2cd94a ECC-1018: charValues changed back to integers. Modified dump to cater for them 2019-12-09 17:55:53 +00:00
Shahram Najm dfa667741f Merge develop 2019-12-08 20:00:27 +00:00
Shahram Najm ae5e8d2912 ECC-1018: Fixed the encoding of list of ascii keys. Added tests 2019-12-08 17:23:28 +00:00
Shahram Najm cee5199b1e SUP-2982: updated test 2019-12-06 13:31:28 +00:00
Shahram Najm 417a2c7fe8 ECC-1018: Added a test for DIAG 2019-12-03 14:01:55 +00:00
Shahram Najm 397ec353a6 ECC-992: Fix case when concept condition has a string value 2019-12-02 14:55:29 +00:00
Shahram Najm 48020d09fd ECC-992: get_concept_condition_string: Add optional argument for concept value 2019-12-02 12:36:53 +00:00
Shahram Najm e9045909f3 New function get_concept_condition_string and unit tests for it 2019-12-01 16:13:38 +00:00
Shahram Najm a1f28f4baf ECC-992: Print details of matching concept 2019-11-30 13:32:48 +00:00
Shahram Najm 39eda000c8 ECC-992: Implement warning mode (ECCODES_GRIB_DATA_QUALITY_CHECKS=2) 2019-11-29 16:52:06 +00:00
Shahram Najm 089604ec03 ECC-992: Renamed environment variable 2019-11-29 14:45:55 +00:00
Shahram Najm cf8a57ea0b Fix broken Windows build 2019-11-29 11:13:18 +00:00
Shahram Najm 7bf8211a54 Merge develop 2019-11-28 17:43:52 +00:00
Shahram Najm beba803afb ECC-992: New environment variable ECCODES_DEFINITION_PATH_SUPPLEMENT. Also added test 2019-11-28 15:53:46 +00:00
Shahram Najm 1e59d51c32 Quality checks: Add test 2019-11-27 18:11:57 +00:00
Shahram Najm aa3d620db7 Testing: GRIB ieee to simple packing 2019-11-27 13:37:40 +00:00
Shahram Najm 5dc40557cc ECC-1030: grib_get: Add '-B' option for ordering 2019-11-26 10:54:41 +00:00
Shahram Najm 52e12d5698 ECC-991: Add rdbSubtype 2019-11-20 16:20:25 +00:00
Shahram Najm c3b81c12b4 ECC-991: Add centre key as string 2019-11-20 15:39:55 +00:00
Shahram Najm ee8fec3143 ECC-991: Memory leak fix and cleanup 2019-11-20 12:25:38 +00:00
Shahram Najm 957bdfb35b ECC-991: Added separate keys for local section presence 2019-11-20 11:52:27 +00:00
Shahram Najm c9894e6f51 Fix broken test 2019-11-19 10:30:55 +00:00
Shahram Najm 2eaef6a4f7 ECC-991: New function to return string value of header key 2019-11-18 18:20:12 +00:00
Shahram Najm 54ba4cf72d ECC-991: Strict mode added 2019-11-18 15:40:14 +00:00
Shahram Najm 4d858df125 ECC-991: Include bad BUFR messages but set their message_size=0 2019-11-18 14:39:41 +00:00
Shahram Najm cfaf65fcc9 ECC-1021: Add test for renamed key 2019-11-17 17:23:10 +00:00
Shahram Najm b8f655f51a ECC-1021: fix broken tests 2019-11-14 19:59:11 +00:00
Shahram Najm 4169c10782 Update list of keys and hash 2019-11-13 18:25:29 +00:00
Shahram Najm fa985d7c5c ECC-991: Added typicalDate and typicalTime 2019-11-11 16:24:15 +00:00
Shahram Najm 1ff8729dd1 ECC-1006: New GRIB1/GRIB2 local definitions for Seasonal forecast monthly means for lagged systems 2019-11-08 16:56:06 +00:00
Shahram Najm ff8931f72f ECC-991: Add more error handling 2019-11-08 12:51:15 +00:00
Shahram Najm 61a127acfb ECC-1016: Update BUFR tables with the latest WMO version 33 2019-11-08 11:05:30 +00:00
Shahram Najm 2efb9085e3 ECC-991: Drop totalLength and rename local section key 2019-11-07 17:27:25 +00:00
Shahram Najm 2743b6f524 Fix includes: IWYU 2019-11-07 12:03:45 +00:00
Shahram Najm e089e4767a Merge develop 2019-11-06 11:21:37 +00:00
Shahram Najm bb9cb2fe69 cppcheck warnings 2019-11-05 14:23:23 +00:00
Shahram Najm 6c55384c1d ECC-1006: New GRIB1/GRIB2 local definitions for Seasonal forecast monthly means for lagged systems (Part 1) 2019-10-31 13:53:35 +00:00
Shahram Najm ed1f5bce4c Testing: BUFR keys iterator for synop 2019-10-28 15:53:47 +00:00
Shahram Najm 0f3b304a3e Testing: BUFR keys iterator for synop 2019-10-28 15:50:24 +00:00
Shahram Najm ba524c3218 GRIB encoding: keep values reasonable for examples/tests 2019-10-11 13:35:01 +01:00
Shahram Najm 3f565b5c16 Initialisation 2019-10-11 10:54:18 +01:00
Shahram Najm a918e9fa6e ECC-992: GRIB encoding: Data Quality Checks (initial attempt) 2019-10-10 18:21:05 +01:00
Shahram Najm 93919d53a6 ECC-1002: Windows: encoding tests fail 2019-10-07 18:36:23 +01:00
Shahram Najm ccd4f3c386 ECC-1002: Windows: encoding tests fail 2019-10-07 18:25:39 +01:00
Shahram Najm 82221ef7d6 ECC-1001: grib_ls -j -l lat,lon broken (JSON output with nearest) 2019-10-07 16:38:01 +01:00
Shahram Najm cb839e23b7 ECC-1001: grib_ls -j -l lat,lon broken (JSON output with nearest) 2019-10-07 16:09:13 +01:00
Shahram Najm cf408e19d8 ECC-1000: 'grib_ls -l' fails when used on two files with different grids 2019-10-07 14:40:52 +01:00
Shahram Najm 0e3932106e Testing: prevent failure due to known error 2019-10-01 13:40:49 +01:00
Shahram Najm 591b071b4a ECC-997: grib_util_set_spec: Add support for CCSDS packing (GRIB2) 2019-10-01 12:12:18 +01:00