diff --git a/tests/grib_double_cmp.sh b/tests/grib_double_cmp.sh index ca01eb02b..af0c8f83a 100755 --- a/tests/grib_double_cmp.sh +++ b/tests/grib_double_cmp.sh @@ -14,6 +14,9 @@ . ./include.ctest.sh +label="grib_double_cmp_test" +tempGrib=temp.$label.grib + infiles=" grid_ieee.grib regular_latlon_surface_constant.grib2 @@ -25,6 +28,12 @@ if [ $HAVE_JPEG -eq 1 ]; then infiles="jpeg.grib2 "$infiles fi +if [ $HAVE_PNG -eq 1 ]; then + infile=$data_dir/reduced_gaussian_model_level.grib2 + ${tools_dir}/grib_set -r -s packingType=grid_png $infile $data_dir/$tempGrib + infiles="$tempGrib "$infiles +fi + if [ $HAVE_AEC -eq 1 ]; then infiles="ccsds.grib2 "$infiles fi @@ -33,3 +42,5 @@ for f in $infiles; do infile=$data_dir/$f $EXEC ${test_dir}/grib_double_cmp ${infile} done + +rm -f $data_dir/$tempGrib diff --git a/tests/grib_keys_iter.sh b/tests/grib_keys_iter.sh index 18d8da421..ffc3ea610 100755 --- a/tests/grib_keys_iter.sh +++ b/tests/grib_keys_iter.sh @@ -28,6 +28,7 @@ grib_files=`cat ${data_dir}/grib_data_files.txt` for f in ${grib_files}; do ${test_dir}/grib_keys_iter $f > $tempOut done +rm -f $tempOut cd ${data_dir}/tigge tigge_files=`cat ${data_dir}/tigge/tigge_data_files.txt` diff --git a/tests/grib_png.sh b/tests/grib_png.sh index 6ad01ed3e..64c6ba4de 100755 --- a/tests/grib_png.sh +++ b/tests/grib_png.sh @@ -65,6 +65,10 @@ grep -q "224.455" $temp1 ${tools_dir}/grib_ls -F%.6g -l 48.835,327.600 $temp > $temp1 grep -q "Grid Point chosen #4 index=936 " $temp1 +# jPointsAreConsecutive +infile=${data_dir}/reduced_gaussian_model_level.grib2 +${tools_dir}/grib_set -r -s jPointsAreConsecutive=1,packingType=grid_png $infile $temp + # Conversion from IEEE to PNG # ----------------------------