reducer.mean.exclude-nulls
reducer
The reducer.mean.exclude-nulls
function outputs for each tick the mean of the values of Geo Time Series™ which are in the same equivalence class.
It operates on LONG and DOUBLE.
The location returned is the centroid of all the locations, the elevation is the average elevation.
It will exclude all null values when computing the mean.
reducer.mean.exclude-nulls is available since version 1.0.11.
See also
Signatures
Examples
[
[
NEWGTS "GTS1" RENAME
10 NaN NaN NaN 1 ADDVALUE
20 NaN NaN NaN 1 ADDVALUE
30 NaN NaN NaN 1 ADDVALUE
40 NaN NaN NaN 1 ADDVALUE
50 NaN NaN NaN 1 ADDVALUE
60 NaN NaN NaN 1 ADDVALUE
NEWGTS "GTS2" RENAME
10 NaN NaN NaN 5 ADDVALUE
20 NaN NaN NaN 5 ADDVALUE
30 NaN NaN NaN 5 ADDVALUE
NEWGTS "GTS3" RENAME
10 NaN NaN NaN 10 ADDVALUE
20 NaN NaN NaN 10 ADDVALUE
30 NaN NaN NaN 10 ADDVALUE
] [] reducer.mean.exclude-nulls
] REDUCE