Testing: bufr_dump -O debug output

This commit is contained in:
Shahram Najm 2020-02-10 13:57:40 +00:00
parent 02c9cb8ee1
commit 40067d2879
1 changed files with 2 additions and 2 deletions

View File

@ -45,11 +45,11 @@ file="aaen_55.bufr"
export ECCODES_DEBUG=1
# By default debug output goes to stderr
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file 2>&1 | grep -q "BUFR data .*ing"
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file 2>&1 | grep -q "parsing include file"
# Redirect it to stdout
export ECCODES_LOG_STREAM=stdout
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file | grep -q "BUFR data .*ing"
${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file | grep -q "parsing include file"
unset ECCODES_DEBUG
unset ECCODES_LOG_STREAM