bucketizer.median
bucketizerThe bucketizer.median
function returns the median, as defined by the NIST, of all the values found for each bucket of a bucketized Geo Time Series™.
It operates on LONG and DOUBLE and it always returns a DOUBLE.
As the median is effectively computed using one or two points, the location/elevation of the result is:
- not defined is there is no location/elevation
- the value of the location/elevation if only one point has this info
- the centroid/mean of the location/elevation if the two points have this info.