Testing: JPEG nearest

This commit is contained in:
Shahram Najm 2023-04-22 19:27:37 +01:00
parent ee9cc4d334
commit 4755277a88
1 changed files with 8 additions and 1 deletions

View File

@ -96,7 +96,7 @@ ${tools_dir}/grib_ls -l 70,345.2,1 $input_grb > $temp
grep -q "Grid Point chosen #4 index=0 " $temp grep -q "Grid Point chosen #4 index=0 " $temp
# CCDSDS regular lat/lon # CCSDS regular lat/lon
# ---------------------------------------- # ----------------------------------------
if [ $HAVE_AEC -eq 1 ]; then if [ $HAVE_AEC -eq 1 ]; then
input_grb=${data_dir}/ccsds.grib2 input_grb=${data_dir}/ccsds.grib2
@ -111,6 +111,13 @@ if [ $HAVE_AEC -eq 1 ]; then
grep -q "1" $temp grep -q "1" $temp
fi fi
# JPEG regular lat/lon
# ----------------------------------------
if [ $HAVE_JPEG -eq 1 ]; then
input_grb=${data_dir}/jpeg.grib2
res=$(${tools_dir}/grib_get -l 0,0,1 $input_grb | tr -d ' ')
[ "$res" = "101309" ]
fi
# GRIB2 Complex packing regular lat/lon # GRIB2 Complex packing regular lat/lon
# ---------------------------------------- # ----------------------------------------