From 077ad9fc24c322d97ed86f87c404b7a554788818 Mon Sep 17 00:00:00 2001 From: Eugen Betke Date: Tue, 30 Jul 2024 17:15:54 +0200 Subject: [PATCH] ECC-1858: Repack data, when changing packing type --- tests/grib_bitmap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/grib_bitmap.sh b/tests/grib_bitmap.sh index c8d94850f..36ba2cf4d 100755 --- a/tests/grib_bitmap.sh +++ b/tests/grib_bitmap.sh @@ -204,11 +204,11 @@ stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` grib_check_key_equals $temp2 bitsPerValue 24 # Change packing type -${tools_dir}/grib_set -s packingType=grid_simple $in_no_bitmap $temp2 +${tools_dir}/grib_set -r -s packingType=grid_simple $in_no_bitmap $temp2 stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` [ "$stats" = '549.61 11.61 203.28' ] -${tools_dir}/grib_set -s packingType=grid_complex_spatial_differencing $temp2 $tempSimple +${tools_dir}/grib_set -r -s packingType=grid_complex_spatial_differencing $temp2 $tempSimple stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` [ "$stats" = '549.61 11.61 203.28' ] @@ -236,11 +236,11 @@ stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` grib_check_key_equals $temp2 bitsPerValue 24 # Change packing type -${tools_dir}/grib_set -s packingType=grid_simple $in_with_bitmap $temp2 +${tools_dir}/grib_set -r -s packingType=grid_simple $in_with_bitmap $temp2 stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` [ "$stats" = '549.61 11.61 203.28' ] -${tools_dir}/grib_set -s packingType=grid_complex_spatial_differencing $temp2 $tempSimple +${tools_dir}/grib_set -r -s packingType=grid_complex_spatial_differencing $temp2 $tempSimple stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $temp2` [ "$stats" = '549.61 11.61 203.28' ]