mirror of https://github.com/ecmwf/eccodes.git
ECC-218: check bufr edition did actually change
This commit is contained in:
parent
a5f0081688
commit
261e3f6809
|
@ -26,6 +26,10 @@ for f in ${bufr_files}; do
|
||||||
# Convert to BUFR edition 4
|
# Convert to BUFR edition 4
|
||||||
${tools_dir}bufr_set -s editionNumber=4 $f $fBufrTmp
|
${tools_dir}bufr_set -s editionNumber=4 $f $fBufrTmp
|
||||||
${tools_dir}bufr_compare $f $fBufrTmp
|
${tools_dir}bufr_compare $f $fBufrTmp
|
||||||
|
|
||||||
|
ed=`${tools_dir}bufr_get -w count=1 -p editionNumber $fBufrTmp`
|
||||||
|
[ "$ed" = "4" ]
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -f $fBufrTmp
|
rm -f $fBufrTmp
|
||||||
|
|
Loading…
Reference in New Issue