Loading

reducer.max


reducer
Since v1.0.11
Available on all platforms
See also

The reducer.max function outputs for each tick the maximum value of Geo Time Series™ which are in the same equivalence class.

It operates on any type.

The location and elevation returned are those of the first maximum value encountered.

It will exclude all null values when computing the maximum.

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 1 ADDVALUE 20 NaN NaN NaN 42 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN 4 ADDVALUE 20 NaN NaN NaN 3 ADDVALUE NEWGTS "GTS3" RENAME 10 NaN NaN NaN 3 ADDVALUE 20 NaN NaN NaN 8 ADDVALUE NEWGTS "GTS4" RENAME 10 NaN NaN NaN 42 ADDVALUE ] [] reducer.max ] REDUCE