This commit is contained in:
Enrico Fucile 2016-04-25 16:06:43 +01:00
parent 2659e22a00
commit a1da8c2a31
2 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -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