Skip to content

Commit

Permalink
ECC-1958: Add test for -d
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Nov 13, 2024
1 parent 341e170 commit ce461a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/bufr_ecc-1958.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ cat >$tempFilt<<EOF
EOF
${tools_dir}/codes_bufr_filter -o $tempBufr $tempFilt $sample_bufr4

${tools_dir}/bufr_dump -p $tempBufr > $tempOut
# Check descriptor dump
${tools_dir}/bufr_dump -d $tempBufr > $tempOut
c=$( grep -c -w antennaBeamAzimuth $tempOut )
[ $c -eq 72 ]

# Check full dump
${tools_dir}/bufr_dump -p $tempBufr > $tempOut
c=$( grep -c -w indexInRangeDirection $tempOut )
[ $c -eq 32 ]

Expand Down

0 comments on commit ce461a9

Please sign in to comment.