ECC-1379: Add a test

This commit is contained in:
Shahram Najm 2022-04-07 17:14:35 +01:00
parent 74f0886e0b
commit 2715578e9d
1 changed files with 9 additions and 0 deletions

View File

@ -52,4 +52,13 @@ if [ $HAVE_AEC -eq 1 ]; then
${tools_dir}/grib_dump -O $temp
fi
# Check ifs_samples/grib1_mlgrib2_ccsds
# Those that are GRIB2 and for grid-point data must be CCSDS packed
g2_samples="gg_ml.tmpl gg_sfc_grib2.tmpl"
for s in $g2_samples; do
sf=${proj_dir}/ifs_samples/grib1_mlgrib2_ccsds/$s
grib_check_key_equals $sf "edition,packingType" "2 grid_ccsds"
done
rm -f $temp