mirror of https://github.com/ecmwf/eccodes.git
ECC-334: BUFR edition 3: bufr_dump does not show the key 'edition'
This commit is contained in:
parent
da755aa695
commit
6ddff284f8
|
@ -12,8 +12,8 @@ alias identifier=identifier;
|
|||
|
||||
section_length[3] totalLength ;
|
||||
|
||||
unsigned[1] edition = 3;
|
||||
alias editionNumber=edition : dump;
|
||||
unsigned[1] edition = 3 : dump;
|
||||
alias editionNumber=edition;
|
||||
|
||||
template section_1 "bufr/section.1.3.def" ;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ for f in ${bufr_files}; do
|
|||
|
||||
# Convert to BUFR edition 4
|
||||
${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" = "4" ]
|
||||
|
|
Loading…
Reference in New Issue