Testing: grib_compare options -A -T

This commit is contained in:
shahramn 2024-08-20 17:16:40 +01:00
parent 98a3aed225
commit 62caaf5584
1 changed files with 13 additions and 0 deletions

View File

@ -157,6 +157,13 @@ set -e
[ $status -eq 1 ]
grep -q "Invalid absolute error" $outfile
set +e
${tools_dir}/grib_compare -A badnum -R 88 $infile $temp1 >$outfile 2>&1
status=$?
set -e
[ $status -eq 1 ]
grep -q "Invalid absolute error" $outfile
# ----------------------------------------
# ECC-355: -R with "all" option
@ -175,6 +182,12 @@ ${tools_dir}/grib_compare -b $BLACKLIST -R all=2 $temp1 $temp2
cp ${data_dir}/tigge_cf_ecmwf.grib2 $temp1
${tools_dir}/grib_compare -w typeOfLevel=surface ${data_dir}/tigge_cf_ecmwf.grib2 $temp1
# ----------------------------------------
# Use -T switch
# ----------------------------------------
${tools_dir}/grib_compare -T5 ${data_dir}/tigge_cf_ecmwf.grib2 ${data_dir}/tigge_cf_ecmwf.grib2
# ----------------------------------------
# Summary mode (-f)
# ----------------------------------------