Testing: Decode integer key as string

This commit is contained in:
Shahram Najm 2023-10-10 11:27:00 +00:00
parent 087b15a798
commit 86d85d60c1
1 changed files with 8 additions and 0 deletions

View File

@ -378,6 +378,14 @@ cat >$tempFilt <<EOF
EOF
${tools_dir}/grib_filter $tempFilt $ECCODES_SAMPLES_PATH/GRIB2.tmpl #> $tempOut
# Decode an integer key as string
cat >$tempFilt <<EOF
print "[scaleFactorOfSecondFixedSurface:s]";
EOF
${tools_dir}/grib_filter $tempFilt $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $tempOut
cat $tempOut
grep "MISSING" $tempOut
# Clean up
rm -f $tempGrib $tempFilt $tempOut $tempRef