Loading

reducer.count

reducer

The reducer.count function computes for each tick the number of measures of Geo Time Series™ which are in the same equivalence class.

It operates on any type.

The location and elevation returned are the first one encountered, which may vary depending on the order of the parameters.

The include null version, reducer.count.include-nulls, will include null values when computing the count. The exclude null version, reducer.count.exclude-nulls, will exclude null values when computing the count.

reducer.count is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 1 ADDVALUE 20 NaN NaN NaN 5 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 3 ADDVALUE 20 NaN NaN NaN 2 ADDVALUE ] [] reducer.count ] REDUCE