mirror of https://github.com/ecmwf/eccodes.git
Testing: grid_ieee packing test
This commit is contained in:
parent
519409b94a
commit
46cc0d9af7
|
@ -23,6 +23,7 @@ temp_jpeg1=${label}".jpeg1.tmp"
|
||||||
temp_jpeg2=${label}".jpeg2.tmp"
|
temp_jpeg2=${label}".jpeg2.tmp"
|
||||||
temp_png1=${label}".png1.tmp"
|
temp_png1=${label}".png1.tmp"
|
||||||
temp_png2=${label}".png2.tmp"
|
temp_png2=${label}".png2.tmp"
|
||||||
|
temp_ieee1=${label}".ieee1.tmp"
|
||||||
|
|
||||||
# Simple Packing
|
# Simple Packing
|
||||||
# ----------------
|
# ----------------
|
||||||
|
@ -73,6 +74,12 @@ if [ $HAVE_JPEG -eq 1 ]; then
|
||||||
${tools_dir}/grib_compare -c data:n $temp_simple1 $temp_jpeg1
|
${tools_dir}/grib_compare -c data:n $temp_simple1 $temp_jpeg1
|
||||||
fi
|
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
|
# Clean up
|
||||||
rm -f $temp_simple1 $temp_simple2
|
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_png1 $temp_png2
|
||||||
rm -f $temp_ccsds1 $temp_ccsds2
|
rm -f $temp_ccsds1 $temp_ccsds2
|
||||||
rm -f $temp_jpeg1 $temp_jpeg2
|
rm -f $temp_jpeg1 $temp_jpeg2
|
||||||
|
rm -f $temp_ieee1
|
||||||
|
|
Loading…
Reference in New Issue