Testing: missing keyword in bufr_filter
@@ -478,6 +478,19 @@ diff ${f}.ref ${f}.log
rm -f ${f}.ref ${f}.log
+#-----------------------------------------------------------
+# Test: missing() functor
+#-----------------------------------------------------------
+cat > $fRules <<EOF
+ set unpack=1;
+ transient m1 = missing(heightOfBarometerAboveMeanSeaLevel);
+ transient m2 = missing(blockNumber);
+ assert ( m1 == 1 );
+ assert ( m2 == 1 );
+EOF
+f="$ECCODES_SAMPLES_PATH/BUFR4.tmpl"
+${tools_dir}/codes_bufr_filter $fRules $f
+
#-----------------------------------------------------------
# Test: get string whose value is MISSING (ECC-650)
#-----------------------------------------------------------
