From 46cc0d9af7db8f6f0f9d7ddd06a51da3d5dad33b Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 11 Mar 2021 20:05:07 +0000 Subject: [PATCH] Testing: grid_ieee packing test --- tests/grib_packing_order.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/grib_packing_order.sh b/tests/grib_packing_order.sh index 7476bc5ff..81aea2618 100755 --- a/tests/grib_packing_order.sh +++ b/tests/grib_packing_order.sh @@ -23,6 +23,7 @@ temp_jpeg1=${label}".jpeg1.tmp" temp_jpeg2=${label}".jpeg2.tmp" temp_png1=${label}".png1.tmp" temp_png2=${label}".png2.tmp" +temp_ieee1=${label}".ieee1.tmp" # Simple Packing # ---------------- @@ -73,6 +74,12 @@ if [ $HAVE_JPEG -eq 1 ]; then ${tools_dir}/grib_compare -c data:n $temp_simple1 $temp_jpeg1 fi +# IEEE +# ------------ +# tests/grib_packing_order grid_ieee values_before_packing_type x2 # Does not work +$EXEC ${test_dir}/grib_packing_order grid_ieee packing_type_before_values $temp_ieee1 +# No point comparing with grid_simple as grid_ieee will be closer to the actual values +# and less lossy # Clean up rm -f $temp_simple1 $temp_simple2 @@ -80,3 +87,4 @@ rm -f $temp_second1 $temp_second2 rm -f $temp_png1 $temp_png2 rm -f $temp_ccsds1 $temp_ccsds2 rm -f $temp_jpeg1 $temp_jpeg2 +rm -f $temp_ieee1