Testing: BUFR keys iterator for synop

This commit is contained in:
Shahram Najm 2019-10-28 15:50:24 +00:00
parent 898ee389b0
commit 0f3b304a3e
1 changed files with 9 additions and 3 deletions

View File

@ -13,10 +13,16 @@
tempOut=temp.bufr_keys_iter.$$.out
tempRef=temp.bufr_keys_iter.$$.ref
input=${data_dir}/bufr/aaen_55.bufr
# Test: check ident key is present
# -------------------------------------------
input=${data_dir}/bufr/syno_multi.bufr
$EXEC ${test_dir}/bufr_keys_iter -a $input > $tempOut
grep -q 'ident=' $tempOut
## Iterate over ALL keys and skip none
# ------------------------------------
# Test: check full output
# -------------------------------------------
input=${data_dir}/bufr/aaen_55.bufr
$EXEC ${test_dir}/bufr_keys_iter -a $input > $tempOut
# Check the output of BUFR keys iterator