mirror of https://github.com/ecmwf/eccodes.git
Testing: Decode integer key as string
This commit is contained in:
parent
087b15a798
commit
86d85d60c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue