Loading

reducer.mean.circular.exclude-nulls

reducer

The reducer.mean.circular.exclude-nulls function returns the the circular mean of all the values for each value of Geo Time Series™. The associated location is the centroid of all the encountered locations. The associated elevation is the mean of the encountered elevations.

The reducer.mean.circular.exclude-nulls function can only be applied to values of type LONG or DOUBLE, when applied to STRING or BOOLEAN it does not return any value.

If any tick is undefined, it is excluded from computing.

The reducer.mean.circular.exclude-nulls function expects a positive, finite, numeric period on top of the stack, this period will be used to determine the span of circular values, use for example 360.0 if you wish to compute the circular mean of degree angles.

reducer.mean.circular.exclude-nulls is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS "GTS1" RENAME 0 NaN NaN NaN 1.0 ADDVALUE 1 NaN NaN NaN 359.0 ADDVALUE 2 NaN NaN NaN 181.0 ADDVALUE 3 NaN NaN NaN 1.0 ADDVALUE NEWGTS "GTS2" RENAME 0 NaN NaN NaN 1.0 ADDVALUE 1 NaN NaN NaN 359.0 ADDVALUE 2 NaN NaN NaN 181.0 ADDVALUE 3 NaN NaN NaN 1.0 ADDVALUE ] [] 360.0 reducer.mean.circular.exclude-nulls ] REDUCE