Loading

mapper.max

mapper

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 function can be applied to values of any type, when applied to BOOLEAN types, the value false is considered less than true.

mapper.max is available since version 1.0.11.

See also

Signatures

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 0 2 0 ] MAP