mirror of https://github.com/ecmwf/eccodes.git
ECC-243
This commit is contained in:
parent
2659e22a00
commit
a1da8c2a31
|
@ -385,3 +385,4 @@ uegabe.bufr.num.ref
|
|||
syno.bufr.out.ref
|
||||
airep.bufr.out.ref
|
||||
new_replication.bufr.ref
|
||||
metar_with_2_bias.bufr
|
||||
|
|
|
@ -1311,3 +1311,30 @@ diff ${f}.log.ref ${f}.log
|
|||
|
||||
rm -f ${f}.log ${f}.log.ref
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# Test: Data with two bias correction wrong bitmap
|
||||
#-----------------------------------------------------------
|
||||
cat > $fRules <<EOF
|
||||
set unpack=1;
|
||||
print "[pressure->percentConfidence]";
|
||||
print "[pressure->differenceStatisticalValue]";
|
||||
print "[pressure->differenceStatisticalValue->differenceStatisticalValue]";
|
||||
EOF
|
||||
|
||||
f="metar_with_2_bias.bufr"
|
||||
|
||||
echo "Test: Data with two bias correction wrong bitmap" >> $fLog
|
||||
echo "file: $f" >> $fLog
|
||||
|
||||
${tools_dir}bufr_filter $fRules $f > ${f}.log
|
||||
|
||||
cat > ${f}.log.ref <<EOF
|
||||
70
|
||||
-1e+100
|
||||
-100
|
||||
EOF
|
||||
|
||||
diff ${f}.log.ref ${f}.log
|
||||
|
||||
rm -f ${f}.log ${f}.log.ref
|
||||
|
||||
|
|
Loading…
Reference in New Issue