diff --git a/definitions/boot.def b/definitions/boot.def index abebf4f09..ccd367ae7 100644 --- a/definitions/boot.def +++ b/definitions/boot.def @@ -77,8 +77,8 @@ if(kindOfProduct == `TIDE`){ if(kindOfProduct == `BUFR`){ template BUFR "bufr/boot.def" ; - constant BUFRstr="BUFR"; - alias identifier=BUFRstr; + #constant BUFRstr="BUFR"; #ECC-742 + #alias identifier=BUFRstr; } if(kindOfProduct == `CDFX`){ diff --git a/tests/bufr_get.sh b/tests/bufr_get.sh index c3e187ec6..8445c4110 100755 --- a/tests/bufr_get.sh +++ b/tests/bufr_get.sh @@ -10,8 +10,6 @@ . ./include.sh -#set -x - #Enter data dir cd ${data_dir}/bufr @@ -31,6 +29,13 @@ rm -f $fTmp res_get=${label}".get.test" rm -f $res_get +# Check identidier. Edition 3 and 4 +id=`${tools_dir}/bufr_get -p edition,identifier avhn_87.bufr` +[ "$id" = "3 BUFR" ] +id=`${tools_dir}/bufr_get -p edition,identifier aaen_55.bufr` +[ "$id" = "4 BUFR" ] + + #------------------------------------------- # Test "-p" switch #------------------------------------------- @@ -47,7 +52,6 @@ ${tools_dir}/bufr_get -p totalLength,bufrHeaderCentre,bufrHeaderSubCentre,master cat $fTmp | awk '{split($0,a," "); for (i=1; i<=8; i++) print a[i]}' > $res_get diff $ref_get $res_get - #------------------------------------------- # ECC-236 #-------------------------------------------