Commit Graph

1410 Commits

Author SHA1 Message Date
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
Shahram Najm 686bd82b46 Testing: experimental feature grib_fieldset_apply_where 2021-08-20 16:10:55 +01:00
Shahram Najm 71b81094cd Testing: test for grib_filter 'switch' 2021-08-20 15:20:59 +01:00
Shahram Najm dd04264394 Testing: test for local def 4 for GRIB1 (accessor 'round') 2021-08-20 14:51:14 +01:00
Shahram Najm d8b4b30b51 Testing: test for data_g1simple_packing (GRIB1 spectral_simple) 2021-08-20 13:20:35 +01:00
Shahram Najm 2fec9b19c4 Testing: Fix test for AppVeyor 2021-08-16 10:48:00 +01:00
Shahram Najm 863bf14e22 Testing: shuffle and deflate only available for NetCDF-4 2021-08-15 22:20:50 +01:00
Shahram Najm db81ff6b54 Testing: Add test for shuffle and deflate 2021-08-15 22:15:30 +01:00
Shahram Najm bd3a014bb1 Testing: Test for BUDG mars step 2021-08-15 16:18:59 +01:00
Shahram Najm 20a52d119a Testing: Test for WRAP 2021-08-15 15:54:13 +01:00
Shahram Najm e7c6360c50 Testing: Fix Bamboo broken test 2021-08-14 22:22:37 +01:00
Shahram Najm 2903d3b06a Testing: Add test for NetCDF-4 and HDF5 2021-08-14 21:11:13 +01:00
Shahram Najm d41b90070d Testing: Add test for accessor g1day_of_the_year_date 2021-08-14 18:14:13 +01:00
Shahram Najm 6132e9d8de Cleanup: Remove the tiny test and xref 2021-08-14 12:42:27 +01:00
Shahram Najm 5f00e714b6 Testing: Use of subCentre=98 for other centre GRIBs 2021-08-12 16:59:01 +01:00
Shahram Najm 9f2e4bdfab Merge 2021-08-10 23:09:05 +01:00
Shahram Najm 214460406d Merge branch 'develop' into feature/ECC-1270-marsLevtype 2021-08-06 11:57:53 +01:00
Shahram Najm 6138060e9d ECC-1271: Add tests 2021-08-05 21:05:17 +01:00
Shahram Najm e5acc694c3 Merge branch 'develop' into feature/marsLevtype 2021-07-23 19:20:27 +01:00
Shahram Najm b680da06f8 MARS levtype: fix broken tests 2021-07-23 15:46:09 +01:00
Shahram Najm 1e55a22d33 ECC-1264: GRIB2: Allow date and time of forecast to be 'missing' in local definition 98.41 2021-07-23 12:31:03 +01:00
Shahram Najm 637e28abcf Merge branch 'develop' into bugfix/ECC-1261-MarsTime 2021-07-16 12:33:57 +01:00
Shahram Najm 7a9a87f30a Testing: fix test (Broken in metabuilder) 2021-07-14 19:39:26 +01:00
Shahram Najm 43ed8bae26 ECC-1263: GRIB2: CCSDS packing: Assertion when creating constant field 2021-07-14 19:24:46 +01:00
Shahram Najm cb446e5b19 Testing: check each local def number appears in the table 2021-07-14 17:43:25 +01:00
Shahram Najm 14be017ab6 ECC-1261: Added test 2021-07-09 17:14:32 +01:00
Shahram Najm eac182b328 Merge branch 'develop' into bugfix/ECC-1260-Step 2021-07-05 11:58:56 +01:00
Shahram Najm 7c38a7c2cc Testing: BUDG output 2021-07-01 19:24:48 +01:00
Shahram Najm a726417726 Testing: clean up temp files 2021-07-01 19:24:33 +01:00
Shahram Najm 9932f9fb41 ECC-1260: test case 2021-06-27 13:30:24 +01:00
Shahram Najm 93ba7c8e1b Testing: move lengthy test to extra set 2021-06-25 16:01:56 +01:00
Shahram Najm 667f914746 ECC-1259: BUFR encoding: Crash if compressedData set after unexpandedDescriptors 2021-06-24 13:59:29 +01:00
Shahram Najm 4b334bb8a7 ECC-1255: fix is_localtime key 2021-06-22 15:57:51 +01:00
Shahram Najm 0b0a809481 Testing: remove temp files 2021-06-22 15:57:11 +01:00
Shahram Najm 047f5e345c ECC-1258: find_nearest returns wrong point if searched location is at a grid point 2021-06-22 15:14:07 +01:00
Shahram Najm 72c38d59b9 ECC-1255: GRIB2: Key 'is_efas' has two elements rather than just one 2021-06-22 11:46:19 +01:00
Shahram Najm e8bf0aa855 Testing: Fix clang address sanitizer errors 2021-06-21 15:24:06 +01:00
Shahram Najm 3a0546444e Testing: Add test for accessor g1end_of_interval_monthly 2021-06-20 14:41:58 +01:00
Shahram Najm 7322d7d3a5 Testing: BUFR python code generation 2021-06-17 15:50:34 +01:00
Shahram Najm 3148184dd0 Testing: Add test for accessor g1monthlydate 2021-06-17 15:25:54 +01:00
Shahram Najm a3c701ed27 Testing: Add test for accessor g1monthlydate 2021-06-17 15:23:51 +01:00
Shahram Najm c442ffcd7a Testing: add test for accessor g1number_of_coded_values_sh_simple 2021-06-14 17:29:47 +01:00
Shahram Najm c6ffb8121f Testing: Add test for ECC-1028 (incorrect replication) 2021-06-08 12:50:09 +01:00
Shahram Najm 352d8ca27d ECC-1247: test 2021-05-27 17:24:53 +01:00
Shahram Najm c3e0332f63 Testing 2021-05-20 11:16:40 +01:00
Shahram Najm 8f1da66e46 AppVeyor: Fix test 2021-05-20 10:38:51 +01:00
Shahram Najm 2750e7d921 ECC-1245: GRIB: Add typeOfPostProcessing for 'geff' to efas_post_proc 2021-05-19 17:40:44 +01:00
Shahram Najm ed58c41962 ECC-922: grib_get_data should fail on incorrectly coded grid 2021-05-17 17:07:08 +01:00
Shahram Najm f4330ed8c3 ECC-1243: grib_ls -j: error listing the geography namespace 2021-05-17 16:05:10 +01:00
Shahram Najm ee4921b909 ECC-1219: packingType conversion from grid_ieee to grid_second_order 2021-05-14 23:40:30 +01:00
Shahram Najm ebe1670b66 Testing: ensure MARS key values (stream, class, type) are unique 2021-04-27 13:17:50 +01:00