From 2721644f76288636653b2c5efc3f7d668043a536 Mon Sep 17 00:00:00 2001 From: Eugen Betke Date: Fri, 21 Apr 2023 14:15:19 +0000 Subject: [PATCH] ECC-1472: remove re-packing form grib-bitmap test --- tests/grib_bitmap.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/grib_bitmap.sh b/tests/grib_bitmap.sh index df9422502..e2765806e 100755 --- a/tests/grib_bitmap.sh +++ b/tests/grib_bitmap.sh @@ -126,7 +126,8 @@ grib_check_key_equals $temp2 bitsPerValue 9 # Note: The input file has bpv=9 # Simple to grid_complex tempComplex=temp.grib_bitmap.complex.grib -${tools_dir}/grib_set -r -s packingType=grid_complex $tempSimple $tempComplex +#${tools_dir}/grib_set -r -s packingType=grid_complex $tempSimple $tempComplex # TODO: fix re-packing +${tools_dir}/grib_set -s packingType=grid_complex $tempSimple $tempComplex grib_check_key_equals $tempComplex packingType,bitmapPresent,numberOfMissing,numberOfValues,numberOfPoints "grid_complex 1 556901 481339 1038240" stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $tempComplex` [ "$stats" = "2.81 0.00 0.30" ] @@ -134,7 +135,8 @@ rm -f $tempComplex # Simple to grid_complex_spatial_differencing tempComplexSD=temp.grib_bitmap.complexSD.grib -${tools_dir}/grib_set -r -s packingType=grid_complex_spatial_differencing $tempSimple $tempComplexSD +#${tools_dir}/grib_set -r -s packingType=grid_complex_spatial_differencing $tempSimple $tempComplexSD # TODO: fix re-packing +${tools_dir}/grib_set -s packingType=grid_complex_spatial_differencing $tempSimple $tempComplexSD grib_check_key_equals $tempComplexSD packingType "grid_complex_spatial_differencing" grib_check_key_equals $tempComplexSD bitmapPresent,numberOfMissing,numberOfValues,numberOfPoints "1 556901 481339 1038240" stats=`${tools_dir}/grib_get -F%.2f -p max,min,avg $tempComplexSD`