ECC-218: check bufr edition did actually change

This commit is contained in:
Shahram Najm 2016-02-08 18:25:02 +00:00
parent a5f0081688
commit 261e3f6809
1 changed files with 4 additions and 0 deletions

View File

@ -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