mirror of https://github.com/ecmwf/eccodes.git
Added test for bufr_count
This commit is contained in:
parent
141fb68904
commit
97d509f581
|
@ -41,6 +41,8 @@ tools/grib2ppm
|
|||
tools/grib_compare
|
||||
tools/grib_copy
|
||||
tools/grib_count
|
||||
tools/bufr_count
|
||||
tools/codes_count
|
||||
tools/grib_diff
|
||||
tools/grib_dump
|
||||
tools/grib_filter
|
||||
|
|
|
@ -47,4 +47,10 @@ ${tools_dir}/bufr_ls -p totalLength,centre,subCentre,masterTableNumber,masterTab
|
|||
awk NR==3 $fTmp | awk '{split($0,a," "); for (i=1; i<=8; i++) print a[i]}' > $res_ls
|
||||
diff $ref_ls $res_ls >$REDIRECT 2> $REDIRECT
|
||||
|
||||
# counting messages
|
||||
count=`${tools_dir}bufr_count syno_multi.bufr`
|
||||
[ "$count" = "3" ]
|
||||
count=`${tools_dir}codes_count syno_multi.bufr`
|
||||
[ "$count" = "3" ]
|
||||
|
||||
rm -f $fLog $res_ls $fTmp
|
||||
|
|
Loading…
Reference in New Issue