Commit Graph

10 Commits

Author SHA1 Message Date
Shahram Najm 6d6d574dfc ECC-1374: Add more tests 2022-03-28 16:18:11 +01: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 af3486455f Testing: second order packing and constant fields 2021-12-06 17:59:50 +00:00
Shahram Najm 8f1da66e46 AppVeyor: Fix test 2021-05-20 10:38:51 +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 c5eeb29947 Testing: Add test for second order packing (GRIB-883) 2021-03-12 12:23:17 +00:00
Shahram Najm 12c6150917 Copyright notices: use new format 2020-01-28 14:32:34 +00:00
Shahram Najm 02e934b688 Copyright updated 2019-04-15 14:44:45 +01:00
Shahram Najm 30b705b8da Update copyright notices: 2017 -> 2018 2018-01-02 11:31:02 +00:00
Shahram Najm bc579ec81e Testing: rename tests/second_order.sh 2017-04-05 12:49:16 +01:00
Renamed from tests/second_order.sh (Browse further)