Commit Graph

2252 Commits

Author SHA1 Message Date
Shahram Najm 30e16a7b8b Error handling and cleanup 2022-02-19 13:07:07 +00:00
Shahram Najm 509a32607b Merge branch 'develop' into feature/OceanInMars 2022-02-14 22:13:55 +00:00
Shahram Najm 7040d51277 ECC-670: PowerPC: some tests fail on ppc platform 2022-02-11 13:38:11 +00:00
Shahram Najm ed8a8a3447 ECC-1347: BUFR crash: malloc failure during encoding 2022-02-10 17:18:23 +00:00
Shahram Najm 2736648f41 Compiler warnings on Windows: C4018 and C4334 2022-02-10 10:54:58 +00:00
Shahram Najm 4f113ed801 ECC-1344: Fix for Windows builds 2022-02-10 10:25:32 +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 a89e1956f8 ECC-1345: GRIB: ECCODES_GRIB_IEEE_PACKING environment variable value should be checked 2022-02-09 13:14:31 +00:00
Shahram Najm 14fc79aae4 Fix formatting issues in print statements [-Werror=format=] 2022-02-07 17:23:23 +00:00
Shahram Najm 3f48155076 Geoiterator: improved error messages 2022-02-06 18:50:04 +00:00
Shahram Najm 9164be0020 Print name of Geoiterator in error messages 2022-02-06 17:45:29 +00:00
Shahram Najm b6c72d346c transform_iterator_data: No need to pass in handle. Also fix memory leak 2022-02-06 13:11:54 +00:00
Shahram Najm d2b739c0fc ECC-1339: Remove unused variables 2022-02-05 15:57:32 +00:00
Shahram Najm f9b0d8e521 ECC-1339: grib1 spectral ieee 2022-02-05 12:35:07 +00:00
Shahram Najm 3e29939e05 ECC-1339: cleanup 2022-02-04 19:05:26 +00:00
Shahram Najm 98b908ff68 ECC-1339: Fix comments 2022-02-04 17:47:25 +00:00
Shahram Najm bbb34f8c9a ECC-1339: GRIB2: ECCODES_GRIB_IEEE_PACKING environment variable does not work for edition 2 2022-02-04 17:45:47 +00:00
Shahram Najm f4460251d1 Testing: grib_compare 2022-02-03 18:25:17 +00:00
Shahram Najm 9f25c8951c Deprecated code 2022-02-03 16:37:40 +00:00
Shahram Najm f3355b385a Merge develop into feature/OceanInMars branch 2022-02-03 12:04:32 +00:00
Shahram Najm 0bb62072d1 Cleanup 2022-02-01 12:22:44 +00:00
Shahram Najm 9d4e838d3b Cleanup 2022-01-31 20:25:14 +00:00
shahramn b0a093f804
Merge branch 'develop' into g1second_order-test-fix-linux32 2022-01-31 18:45:27 +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 c88748cc80 ECC-1335: C API: Deprecate functions codes_box_new and codes_box_get_points (Part 3) 2022-01-31 14:17:18 +00:00
Shahram Najm c564b6eae5 ECC-1335: C API: Deprecate functions codes_box_new and codes_box_get_points (Part 2) 2022-01-31 14:07:07 +00:00
Shahram Najm 8a2337c43e ECC-1331: GRIB: Polar stereographic projection with alternativeRowScanning is incorrect 2022-01-30 22:26:38 +00:00
Shahram Najm 4d927258ac ECC-1331: Better to fail rather than generate wrong results 2022-01-29 15:49:44 +00:00
Shahram Najm f0e24edd1c ECC-1330: Fix leak 2022-01-21 20:03:55 +00:00
Shahram Najm 9b2b7d69c7 ECC-1330: BUFR: bufrTemplate='unknown' but should be 'aircraftReportWithSecondsAndPressure' 2022-01-21 16:03:51 +00:00
Shahram Najm f1e9143b59 Experimental: setting MISSING as a valid value (for now disabled) 2022-01-20 14:40:06 +00:00
Shahram Najm 1b137c5bee Unused function: grib_init_accessor_from_array 2022-01-20 13:40:14 +00:00
Shahram Najm e2d7c22edd Update list of keys and hash 2022-01-19 19:56:18 +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
Shahram Najm 0155057ea5 Performance: unpack_string: reduce scope and buffer size 2021-12-26 20:32:06 +00:00
Shahram Najm 5407ecd6d1 Unused accessor: bufr_clear_tables 2021-12-21 21:04:42 +00:00
Shahram Najm f1553c0772 Error messages 2021-12-18 22:11:09 +00:00
Shahram Najm 49a9e55807 Merge branch 'develop' into feature/OceanInMars 2021-12-17 18:47:32 +00:00
Shahram Najm e178c99874 Testing: add test for 'suppressed' accessor 2021-12-16 12:21:53 +00:00
Shahram Najm 1721cc7351 Add build date into library: Fix Windows build 2021-12-14 19:56:52 +00:00
Shahram Najm 267f155628 Add build date into library (Similar to git SHA1) 2021-12-14 19:49:25 +00:00
Jos de Kloe 001e6b5311 add patch to src/grib_api_internal.h as proposed by Mamoru TASAKA <mtasaka@fedoraproject.org> to fix test problems on the big endian s390x platform. 2021-12-14 09:05:27 +01:00
Shahram Najm ea5a8f8ac6 Unused file: More cleanup 2021-12-11 19:36:08 +00:00
Shahram Najm 6e044b9b5a Unused file: grib_accessor_class_g1p1p2.c 2021-12-11 17:58:50 +00:00
Shahram Najm 201443c6ac Testing: offset as a string and integer 2021-12-09 22:22:20 +00:00
Shahram Najm 653594028c Improve error messages 2021-12-09 18:53:05 +00:00
Shahram Najm ac2095cd42 Improve error messages 2021-12-09 18:41:10 +00:00
Shahram Najm 109ef4654c Warning on Windows 2021-12-05 20:19:51 +00:00
Shahram Najm 04d53e0280 Unused functions 2021-12-05 20:18:45 +00:00