mirror of https://github.com/ecmwf/eccodes.git
WMO dump: Print user-friendly type for keys (-t option)
This commit is contained in:
parent
a077fd8554
commit
230a863236
|
@ -30,5 +30,12 @@ for file in $samples; do
|
|||
${tools_dir}/grib_dump -O $sf >/dev/null
|
||||
done
|
||||
|
||||
# Test grib_dump with -t option
|
||||
${tools_dir}/grib_dump -O -t $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $temp
|
||||
grep -q "signed (int) scaleFactorOfFirstFixedSurface" $temp
|
||||
grep -q "codetable (int) typeOfSecondFixedSurface" $temp
|
||||
grep -q "ieeefloat (double) referenceValue" $temp
|
||||
grep -q "unsigned (int) numberOfSection" $temp
|
||||
|
||||
|
||||
rm -f $temp
|
||||
|
|
Loading…
Reference in New Issue