Testing: grid_ieee packing test

This commit is contained in:
Shahram Najm 2021-03-11 20:05:07 +00:00
parent 519409b94a
commit 46cc0d9af7
1 changed files with 8 additions and 0 deletions

View File

@ -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