ECC-334: BUFR edition 3: bufr_dump does not show the key 'edition'

This commit is contained in:
Shahram Najm 2016-09-21 17:15:49 +01:00
parent da755aa695
commit 6ddff284f8
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ alias identifier=identifier;
section_length[3] totalLength ; section_length[3] totalLength ;
unsigned[1] edition = 3; unsigned[1] edition = 3 : dump;
alias editionNumber=edition : dump; alias editionNumber=edition;
template section_1 "bufr/section.1.3.def" ; template section_1 "bufr/section.1.3.def" ;

View File

@ -24,7 +24,7 @@ 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 -b edition $f $fBufrTmp
ed=`${tools_dir}bufr_get -w count=1 -p editionNumber $fBufrTmp` ed=`${tools_dir}bufr_get -w count=1 -p editionNumber $fBufrTmp`
[ "$ed" = "4" ] [ "$ed" = "4" ]