Loading

mapper.sum

mapper

This mapper function computes the sum of all the values found in the sliding window. The associated location and elevation are those of the most recent tick of the window.

The mapper.sum function can only be applied to values of type LONG or DOUBLE, it will produce no value for types STRING and BOOLEAN.

mapper.sum is available since version 1.0.11.

See also

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 5.0 ADDVALUE 20 NaN NaN NaN 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN 8.0 ADDVALUE 20 NaN NaN NaN 42.0 ADDVALUE ] mapper.sum 2 0 0 ] MAP