ECC-742: BUFR: Remove unused key 'BUFRstr'

This commit is contained in:
Shahram Najm 2018-08-30 13:07:14 +01:00
parent 2292c12b3a
commit 718d71850e
2 changed files with 9 additions and 5 deletions

View File

@ -77,8 +77,8 @@ if(kindOfProduct == `TIDE`){
if(kindOfProduct == `BUFR`){ if(kindOfProduct == `BUFR`){
template BUFR "bufr/boot.def" ; template BUFR "bufr/boot.def" ;
constant BUFRstr="BUFR"; #constant BUFRstr="BUFR"; #ECC-742
alias identifier=BUFRstr; #alias identifier=BUFRstr;
} }
if(kindOfProduct == `CDFX`){ if(kindOfProduct == `CDFX`){

View File

@ -10,8 +10,6 @@
. ./include.sh . ./include.sh
#set -x
#Enter data dir #Enter data dir
cd ${data_dir}/bufr cd ${data_dir}/bufr
@ -31,6 +29,13 @@ rm -f $fTmp
res_get=${label}".get.test" res_get=${label}".get.test"
rm -f $res_get 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 # 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 cat $fTmp | awk '{split($0,a," "); for (i=1; i<=8; i++) print a[i]}' > $res_get
diff $ref_get $res_get diff $ref_get $res_get
#------------------------------------------- #-------------------------------------------
# ECC-236 # ECC-236
#------------------------------------------- #-------------------------------------------