Loading

mapper.max.forbid-nulls


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function returns the max of all the values found in each sliding window. The associated location and elevation are those of the selected value. If the max value is encountered several times, the selected one is the one that appears first chronologically.

The mapper.max.forbid-nulls function can be applied to values of any type, when applied to BOOLEAN types, the value false is considered less than true.

If a value is NULL in the bucket, the result is NULL

Signature

Examples

[ [ NEWGTS 10 NaN NaN NaN 42.0 ADDVALUE 20 NaN NaN NaN 123.0 ADDVALUE 30 NaN NaN NaN 211.0 ADDVALUE 40 NaN NaN NaN 132.0 ADDVALUE ] mapper.max.forbid-nulls 0 2 0 ] MAP