mirror of https://github.com/ecmwf/eccodes.git
Windows tests: compare tolerance
This commit is contained in:
parent
86c2f87902
commit
bc5d6751d9
|
@ -46,6 +46,11 @@ files=`cat ${data_dir}/bufr/bufr_data_files.txt`
|
||||||
# set #1#3HourPressureChange=-1.6;
|
# set #1#3HourPressureChange=-1.6;
|
||||||
# The hash cannot be followed by a number!
|
# The hash cannot be followed by a number!
|
||||||
exclude="ias1_240.bufr syno_multi.bufr tropical_cyclone.bufr aeolus_wmo_26.bufr israel_observations_2017041010.bufr "
|
exclude="ias1_240.bufr syno_multi.bufr tropical_cyclone.bufr aeolus_wmo_26.bufr israel_observations_2017041010.bufr "
|
||||||
|
cmp_options=""
|
||||||
|
|
||||||
|
if [ $ECCODES_ON_WINDOWS -eq 1 ]; then
|
||||||
|
cmp_options="-R all=1e-7"
|
||||||
|
fi
|
||||||
|
|
||||||
for f in $files
|
for f in $files
|
||||||
do
|
do
|
||||||
|
@ -60,7 +65,8 @@ do
|
||||||
${tools_dir}/bufr_dump -Efilter $f > $fRules
|
${tools_dir}/bufr_dump -Efilter $f > $fRules
|
||||||
|
|
||||||
${tools_dir}/codes_bufr_filter -o $fBufrTmp $fRules $f
|
${tools_dir}/codes_bufr_filter -o $fBufrTmp $fRules $f
|
||||||
${tools_dir}/bufr_compare $fBufrTmp $f
|
|
||||||
|
${tools_dir}/bufr_compare $cmp_options $fBufrTmp $f
|
||||||
|
|
||||||
TEMP_OUT1=${label}.$f.dump.out
|
TEMP_OUT1=${label}.$f.dump.out
|
||||||
TEMP_OUT2=${label}.$fBufrTmp.dump.out
|
TEMP_OUT2=${label}.$fBufrTmp.dump.out
|
||||||
|
|
Loading…
Reference in New Issue