Loading

reducer.argmin

reducer

The reducer.argmin function outputs for each tick, the tick and the concatenation separated by ‘,’ with the values of the labels for which the value is the minimum of Geo Time Series™ which are in the same equivalence class.

It operates on LONG and DOUBLE.

There is no location and elevation returned.

This reducer takes an additional LONG parameter to choose the minimum to report (use 0 to report all), and a STRING parameter to choose on which label it operates.

reducer.argmin is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS "GTS1" RENAME { 'label0' '1' } RELABEL 10 NaN NaN NaN 1 ADDVALUE 20 NaN NaN NaN 5 ADDVALUE NEWGTS "GTS2" RENAME { 'label0' '2' } RELABEL 10 NaN NaN NaN 4 ADDVALUE 20 NaN NaN NaN 3 ADDVALUE NEWGTS "GTS3" RENAME { 'label0' '2' } RELABEL 10 NaN NaN NaN 3 ADDVALUE 20 NaN NaN NaN 8 ADDVALUE 30 NaN NaN NaN 1 ADDVALUE NEWGTS "GTS4" RENAME { 'label0' '1' } RELABEL 10 NaN NaN NaN 3 ADDVALUE 20 NaN NaN NaN 2 ADDVALUE ] [] 'label0' 0 reducer.argmin ] REDUCE