Commit Graph

1460 Commits

Author SHA1 Message Date
Shahram Najm b6896e9446 Merge branch 'develop' into bugfix/ECC-989-ValgrindErrorBufr 2022-03-04 19:22:13 +00:00
Shahram Najm 2837446798 ECC-1363: codes_set_string: Does not fail for invalid value for key of type 'double' 2022-03-04 15:27:16 +00:00
Shahram Najm 273150c3a0 ECC-1362: Testing: Add AEC packed data to test suite, that cannot be unpacked by SZIP 2022-03-04 14:42:25 +00:00
Shahram Najm 10923f0724 ECC-1359: Additional test 2022-03-02 17:56:15 +00:00
Shahram Najm 55a95d17bd ECC-1359: codes_set_string: Fails for integer key even if string can be converted to an integer 2022-03-02 17:43:41 +00:00
Shahram Najm cc09ad375d Optimisation: faster decode for constant field 2022-03-01 18:03:43 +00:00
Shahram Najm 559a25dd39 ECC-1352: CCSDS with multi-threaded tests 2022-03-01 12:12:40 +00:00
Shahram Najm ada56cdb30 ECC-1352: CCSDS with multi-threaded tests 2022-02-28 16:08:16 +00:00
Shahram Najm 7ae5755547 Testing: packing tests 2022-02-27 14:43:09 +00:00
Shahram Najm f4a42828b3 Testing: Fix leak 2022-02-26 18:39:11 +00:00
Shahram Najm 181c7cefc7 Fieldset: refactoring 2022-02-26 13:44:13 +00:00
Shahram Najm ca293c1da9 Fieldset: refactoring 2022-02-26 13:34:58 +00:00
Shahram Najm 1a9b698eca Testing: Fieldset and order_by 2022-02-25 18:15:44 +00:00
Shahram Najm 9436793fe0 Update list of keys and hash 2022-02-25 15:37:11 +00:00
Shahram Najm 7487066c00 ECC-989: Add test 2022-02-25 14:49:07 +00:00
Shahram Najm 35e7f397a8 Testing 2022-02-24 15:16:55 +00:00
Shahram Najm 6f77b04f08 ECC-1357: GRIB2: Add key aerosolTypeName for aerosol templates 2022-02-24 14:13:39 +00:00
Shahram Najm 2c79a3fde5 Testing: ECC-1270: Do not decode levtype as an integer (it is now a 'concept') 2022-02-24 11:58:17 +00:00
Shahram Najm df142158c0 Update list of keys and hash 2022-02-22 12:18:23 +00:00
Shahram Najm b60b1ba63a ECC-1352: CCSDS basic sanity tests 2022-02-21 14:25:55 +00:00
Shahram Najm 57eec075ba Testing: GRIB offsetValuesBy when bitmap is present 2022-02-19 13:33:31 +00:00
Shahram Najm 9e9c863bb7 Testing: add test for g1date when yearOfCentury=255,day=255 2022-02-18 13:30:38 +00:00
Shahram Najm 23726e78be Testing: add test for g1date when yearOfCentury=255 2022-02-18 13:16:41 +00:00
Shahram Najm 907d3426e8 Merge branch 'feature/OceanInMars' into develop 2022-02-17 16:28:43 +00:00
Shahram Najm 4f752c4880 ECC-1352: GRIB CCSDS packing: Add extra tests (Part 3) 2022-02-16 17:33:38 +00:00
Shahram Najm 6d909751a4 ECC-1352: GRIB CCSDS packing: Add extra tests (Part 2) 2022-02-16 16:51:18 +00:00
Shahram Najm 21567d2876 Testing: extra test for TIGGE (related to SD-59277) 2022-02-16 16:34:55 +00:00
Shahram Najm 426cd81fee Testing: extra test for TIGGE (related to SD-59277) 2022-02-16 16:33:16 +00:00
Shahram Najm 341b003852 ECC-1352: GRIB CCSDS packing: Add extra tests (Part 1) 2022-02-16 15:43:38 +00:00
Shahram Najm 49ead9431f Testing: IEEE cleanup 2022-02-16 14:01:19 +00:00
Shahram Najm 1c6ff5d65e ECC-1350: grib_compare: Incorrect behaviour when first file argument is a directory 2022-02-16 12:41:54 +00:00
Shahram Najm ededbee2cf Merge branch 'develop' into feature/OceanInMars 2022-02-16 11:49:58 +00:00
Shahram Najm 0983c36493 Testing: catch case of localTablesVersion key in WMO defs 2022-02-16 11:49:40 +00:00
Shahram Najm 509a32607b Merge branch 'develop' into feature/OceanInMars 2022-02-14 22:13:55 +00:00
Shahram Najm fc6d0108e3 ECC-1342: Fix levtypes for UERRA params 260649 and 260650 2022-02-14 18:06:35 +00:00
Shahram Najm 2c6f4e65cc Testing: ensure env vars are cleared before test 2022-02-10 17:19:13 +00:00
Shahram Najm ed8a8a3447 ECC-1347: BUFR crash: malloc failure during encoding 2022-02-10 17:18:23 +00:00
Shahram Najm a89e1956f8 ECC-1345: GRIB: ECCODES_GRIB_IEEE_PACKING environment variable value should be checked 2022-02-09 13:14:31 +00:00
Shahram Najm a088b07135 ECC-1339: test all combinations 2022-02-09 11:04:24 +00:00
Shahram Najm e78c0b4243 Testing: rename 2022-02-05 22:11:26 +00:00
Shahram Najm 532d1fe650 Testing: no point testing option NC_SHORT 2022-02-05 20:40:45 +00:00
Shahram Najm dd415d3c33 ECC-1340: GRIB1: setting packingType=grid_ieee does not work if there is a bitmap 2022-02-05 19:28:17 +00:00
Shahram Najm 3dd4faaa4b ECC-1339: Add tests 2022-02-04 19:05:34 +00:00
Shahram Najm f4460251d1 Testing: grib_compare 2022-02-03 18:25:17 +00:00
Shahram Najm 30c7b23fd8 Fix declaration 2022-02-01 19:44:05 +00:00
shahramn 5482715c30
Merge branch 'develop' into test-grib_lam_bf-use-ieee-on-linux32 2022-02-01 18:47:49 +00:00
Shahram Najm a3af655c41 Merge branch 'feature/ECC-1333-levtype-readonly' into develop 2022-02-01 15:22:25 +00:00
Shahram Najm 685c6a0849 Cleanup 2022-02-01 12:14:30 +00:00
shahramn 6d08544684
Merge branch 'develop' into disable-ieee64-test-on-32bit 2022-01-31 21:56:06 +00:00
shahramn b0a093f804
Merge branch 'develop' into g1second_order-test-fix-linux32 2022-01-31 18:45:27 +00:00
Shahram Najm 53cd2489a1 ECC-1336: CMake: Introduce ECCODES_ON_LINUX_32BIT variable for testing 2022-01-31 17:09:41 +00:00
shahramn 165eddb8b5
Merge branch 'develop' into g1second_order-test-fix-linux32 2022-01-31 17:00:44 +00:00
Shahram Najm 0a2c5f3727 Update list of keys and hash 2022-01-31 14:56:37 +00:00
Shahram Najm 286ea11744 Testing: Add test for uniqueness of typeOfLevel concept 2022-01-28 16:40:35 +00:00
Shahram Najm 174d9b3be1 ECC-1333: GRIB2 only: make levtype read-only, typeOfLevel should be used to set fixed surfaces 2022-01-27 17:40:55 +00:00
Shahram Najm 3641a8d402 Merge branch 'feature/ECC-1332-lake-sfc' into develop 2022-01-27 16:44:43 +00:00
Shahram Najm 506bc89178 ECC-1332: Add test 2022-01-27 16:44:24 +00:00
Shahram Najm 94fcfcff1d ECC-1319: clean up 2022-01-27 14:55:30 +00:00
Shahram Najm c967d43488 Testing: Fix skipExtraKeyAttributes 2022-01-25 18:20:47 +00:00
Shahram Najm eb7196e0ad Testing: add test for skipExtraKeyAttributes 2022-01-25 16:51:37 +00:00
Shahram Najm aa3657ab44 ECC-1330: test 2022-01-21 20:52:26 +00:00
Shahram Najm 9b2b7d69c7 ECC-1330: BUFR: bufrTemplate='unknown' but should be 'aircraftReportWithSecondsAndPressure' 2022-01-21 16:03:51 +00:00
Shahram Najm 13865eb1b4 Testing: temp files 2022-01-20 13:58:22 +00:00
Shahram Najm 950a5f4f75 Testing: add test for MISSING token 2022-01-20 13:40:36 +00:00
Shahram Najm e2d7c22edd Update list of keys and hash 2022-01-19 19:56:18 +00:00
Shahram Najm d26e81fccd Testing: bitsPerValue setting via two methods 2022-01-18 17:53:26 +00:00
Shahram Najm 0fb829dea9 ECC-1329: Add test 2022-01-14 14:01:16 +00:00
Shahram Najm 89e554bcff ECC-1298: GRIB2: Open Data parameters 2022-01-13 15:16:05 +00:00
Shahram Najm ce5d7482d1 ECC-1298: GRIB2: Open Data parameters (Part 2) 2022-01-13 13:05:19 +00:00
Shahram Najm cc3e9758cf Merge branch 'bugfix/ECC-1323-SpaceView' into develop 2022-01-12 16:01:43 +00:00
Shahram Najm 95a7b2ce05 ECC-1328: GRIB2: Add missing marsLevtype concept: Lake or river bottom 2022-01-12 15:02:18 +00:00
Shahram Najm 1e711e30b8 ECC-1328: GRIB2: Add missing marsLevtype concept: Lake or river bottom 2022-01-12 15:00:18 +00:00
Shahram Najm 557b92cacb ECC-1322: grib_compare: Option '-e' generates dubious error message 2022-01-11 15:24:44 +00:00
Shahram Najm ec4b6969ee ECC-1319: Add test 2022-01-11 15:17:32 +00:00
Mamoru TASAKA 580c760e55 g1second_order_general_extended_packing: preserve significant bits for signedness on 32bit
In g1second_order_general_extended_packing, firstOrderValues or so are restored
with grib_get_long_array(), and the restored values are stored in "long" type array.
So on 32 bit system, when "bits_per_value" is set to 32 and 32 bit unsigned values
are saved with grib_set_long_array(), restored values by grib_get_long_array()
are recognized as negative value, which results in wrong result
(in grib_second_order.sh).

For now, on linux 32 bit system, save 1 significant bit for signedness and
restrict bits_per_value to 31, and relax allowed error due to this change.
2022-01-10 23:32:27 +09:00
Mamoru TASAKA 9900658d22 tests/grib_lam_bf: use ieee instead of ieee64 for linux 32 bit
"unpackedSubsetPrecision" value is used for "ieee_floats".
ieee_floats=2 means bytes=8 and grib_long_to_ieee64 is used,
which is supported only when sizeof(double) == sizeof(long) .

Use unpackedSubsetPrecision=1 on linux 32 bit system, which means
grib_long_to_ieee is to be used.

Note that this test is currently disabled on Windows.
2022-01-10 23:29:07 +09:00
Mamoru TASAKA 5c87fa43f5 grib_sh_ieee64: disable on 32 bit system
grib_ieee64_to_long / grib_long_to_ieee64 function needs the system
sizeof(long) == sizeof(double). So on windows system grib_sh_ieee64 test is
disabled.

Similarly, disable this test on linux 32 bit system.
2022-01-10 23:24:56 +09:00
Shahram Najm 9161137de3 Merge branch 'develop' into bugfix/ECC-1323-SpaceView 2022-01-08 16:51:31 +00:00
Shahram Najm 4457520acf ECC-1323: test 2022-01-08 16:50:51 +00:00
Shahram Najm d76811a92b Create single branch from remove_is_s2s and remove_is_tigge 2021-12-21 16:40:00 +00:00
Shahram Najm 7d373388bc Merge branch 'develop' into feature/remove_is_s2s 2021-12-21 15:53:22 +00:00
Shahram Najm 3cc7479f3e Merge branch 'develop' into feature/remove_is_tigge 2021-12-21 15:47:25 +00:00
Shahram Najm f202308ceb Testing: Add tigge for testing 2021-12-17 20:15:31 +00:00
Shahram Najm 739188aba5 ECC-1322: Added test 2021-12-17 17:17:08 +00:00
Shahram Najm 989a526aa7 Merge branch 'develop' into feature/remove_is_s2s 2021-12-17 16:25:47 +00:00
Shahram Najm e46a7a9fc1 Testing: rename test 2021-12-17 16:24:48 +00:00
Shahram Najm 2504fe3091 Testing: Add s2s for testing 2021-12-17 13:31:44 +00:00
Shahram Najm e178c99874 Testing: add test for 'suppressed' accessor 2021-12-16 12:21:53 +00:00
Shahram Najm 19d695e531 ECC-1319: Add test 2021-12-15 17:41:09 +00:00
Shahram Najm f1a68b38e3 Add build date into library: Fix Windows build 2021-12-14 20:02:02 +00:00
Shahram Najm 267f155628 Add build date into library (Similar to git SHA1) 2021-12-14 19:49:25 +00:00
Shahram Najm 201443c6ac Testing: offset as a string and integer 2021-12-09 22:22:20 +00:00
Shahram Najm 47bb223011 Testing: offset as a string 2021-12-09 18:53:24 +00:00
Shahram Najm af3486455f Testing: second order packing and constant fields 2021-12-06 17:59:50 +00:00
Shahram Najm 5076bc3c9f ECC-1315: Keys like parameterName and nameOfFirstFixedSurface have a trailing space 2021-12-01 14:56:51 +00:00
Shahram Najm 5960a63ada Testing: temporary files 2021-11-25 16:41:46 +00:00
Shahram Najm ee3f2dbb4b Performance: Add test for codes_set_force_double_array 2021-11-23 16:51:36 +00:00
Shahram Najm eff3e2fb15 ECC-1305: BUFR: Invalid code in definitions/bufr/tables/operators.table 2021-11-16 16:46:41 +00:00
Shahram Najm 2b78359e50 ECC-1304: Add test 2021-11-16 15:18:46 +00:00
Shahram Najm 790780c7fc ECC-1303: Improve test 2021-11-15 16:01:27 +00:00
Shahram Najm c96368cd27 ECC-1303: GRIB2: Setting localDefinitionNumber=1 on paramId=228104 (e_WLCH4) corrupts message 2021-11-15 15:14:59 +00:00
Shahram Najm 5745e74a9f Comments 2021-11-13 17:39:54 +00:00
Shahram Najm de5c4e7c31 Update list of keys and hash 2021-11-12 15:50:14 +00:00
Shahram Najm 7fd187d568 ECC-1300: GRIB2: Add keys firstSize and secondSize for Aerosol products 2021-11-10 13:51:45 +00:00
Shahram Najm 0ad92612d2 Testing: Add test for legacy ECMWF parameters 2021-11-10 12:09:19 +00:00
Shahram Najm f575a0468c GRIB: nearest function on oblate spheroid 2021-11-06 12:35:12 +00:00
Shahram Najm ae1206473e ECC-1295: GRIB: nearest function fails on regular lat/lon grid on oblate spheroid 2021-11-03 16:17:48 +00:00
Shahram Najm 86c6ee5b09 ECC-1291: Add test 2021-11-02 21:14:46 +00:00
Shahram Najm 7912c66f17 Testing: NCEP local (fix path) 2021-10-28 21:41:27 +01:00
Shahram Najm efc5b137ce Testing: NCEP local 2021-10-28 18:16:15 +01:00
Shahram Najm 10e1ec5a57 ECC-1291: Improve test 2021-10-26 13:33:31 +01:00
Shahram Najm b5442327a8 ECC-1291: Improve test 2021-10-26 13:22:01 +01:00
Shahram Najm 2d383b81a5 Testing: prepare for ECC-1290 2021-10-12 21:03:38 +01:00
Shahram Najm 873b5b7325 ECC-1134: Fix dump output 2021-10-12 12:23:28 +01:00
Shahram Najm ccd3bca790 ECC-1134: BUFR indexing (still experimental) 2021-10-12 12:18:37 +01:00
Shahram Najm 2b6e5af279 Testing: Check descriptor code: FXY must be 6 digits 2021-10-10 18:22:35 +01:00
Shahram Najm 01d93d5e8b ECC-1288: Fix test for Microsoft Windows 2021-10-06 20:55:26 +01:00
Shahram Najm aa214d6728 Testing: Memory leaks 2021-10-06 20:49:23 +01:00
Shahram Najm 494b3be6c7 Testing: Memory leak suppressions 2021-10-06 19:39:00 +01:00
Shahram Najm 3c584864f5 Merge branch 'feature/ECC-1270-and-ECC-1287' into develop 2021-10-06 16:40:33 +01:00
Shahram Najm 921949d683 Formatting 2021-10-06 15:44:45 +01:00
Shahram Najm 85ec462290 Testing: More checks on BUFR element.table files 2021-10-06 15:43:09 +01:00
Shahram Najm 560a12aa32 ECC-1288: Fix test 2021-10-06 12:24:10 +01:00
Shahram Najm bddded25b3 ECC-1288: Add test 2021-10-05 23:02:36 +01:00
Shahram Najm c1d9fe2152 ECC-1283: Test 2021-10-02 19:05:31 +01:00
Shahram Najm 910048d87f ECC-1287: Added test 2021-09-30 11:12:40 +01:00
Shahram Najm 139d9bc1dc ECC-1283: Add test 2021-09-29 18:49:07 +01:00
Shahram Najm 61b846b876 ECC-1283: Add test 2021-09-29 18:29:01 +01:00
Shahram Najm 6b844c4623 Testing: use temp prefix for temporary output files 2021-09-29 16:55:50 +01:00
Shahram Najm 9f512e8ba4 Spelling 2021-09-28 16:37:02 +01:00
Shahram Najm 948b0cff0a Merge branches 'feature/ECC-1270-marsLevtype' and 'feature/remove_is_efas_is_uerra_only' into feature/ECC-1270-and-ECC-1287 2021-09-28 12:11:55 +01:00
Shahram Najm a26296fb3a Merge branch 'develop' into feature/ECC-1270-marsLevtype 2021-09-28 11:45:24 +01:00
Shahram Najm 018579b37b Merge branch 'develop' into feature/remove_is_efas_is_uerra_only 2021-09-21 11:30:09 +01:00
Shahram Najm 854a8c178d ECC-1286: GRIB: Cannot set keys 'scaleFactorOfLowerLimit' and 'scaledValueOfLowerLimit' via the 'lowerLimit' key 2021-09-20 17:20:54 +01:00
Shahram Najm 03cd353925 Testing: For EFAS sample GRIB class must be 'ce' 2021-09-20 13:47:55 +01:00
Shahram Najm 2fa1ae27a1 Fix remaining test (class must be 'ce') 2021-09-19 14:09:47 +01:00
Shahram Najm 2241d46630 Remove tests for transients is_efas 2021-09-18 23:05:00 +01:00
Shahram Najm 2d4923435a Remove test grib_ecc-1255.sh (not relevant anymore) 2021-09-18 23:04:31 +01:00
Shahram Najm a7b957bd0b Merge branch 'bugfix/ECC-1261-MarsTime' into develop 2021-09-17 17:19:42 +01:00
Shahram Najm 2814edee36 Merge branch 'develop' into feature/ECC-1270-marsLevtype 2021-09-15 14:23:38 +01:00
Shahram Najm 2aa0c7ed60 ECC-1280: Add test for GRIB1 2021-09-13 21:34:53 +01:00
Shahram Najm 9baed56332 Merge branch 'develop' into feature/ECC-1270-marsLevtype 2021-09-03 17:12:49 +01:00
Shahram Najm 175d10a342 Merge branch 'develop' into bugfix/ECC-1261-MarsTime 2021-09-03 11:36:03 +01:00
Shahram Najm b4e390d294 ECC-1277: fix test for netcdf3 2021-09-02 14:07:39 +01:00
Shahram Najm f08c23a0ee ECC-1277: Test eccodes_t_grib_to_netcdf fails 2021-09-02 11:19:51 +01:00
Shahram Najm 5bee4847be ECC-1275: grib_set: Setting unsigned values to -1 sets the maximum value for that key 2021-08-27 19:38:46 +01:00
Shahram Najm 2cde2806d0 ECC-1273: grib_get_data: keys added via '-p' should be separated by spaces not commas 2021-08-23 16:38:53 +01:00
Shahram Najm 8258c79d92 Spelling 2021-08-23 16:38:30 +01:00
Shahram Najm 64929ab32f Testing: BUFR code generation on sample 2021-08-20 16:37:31 +01:00
Shahram Najm 8ccbe4ba00 Testing: BUDG set date 2021-08-20 16:36:37 +01:00