Loading

mapper.var.forbid-nulls


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function returns the variance of all the values found in each sliding window. The location and elevation returned are those associated with the most recent value in the sliding window.

If the number of values in the sliding window is greater than one, Bessel’s correction is applied. The mapper.var.forbid-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 a value is NULL in the bucket, the result is NULL.

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 5.0 ADDVALUE 20 NaN NaN NaN 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN 8.0 ADDVALUE 20 NaN NaN NaN 42.0 ADDVALUE ] true mapper.var.forbid-nulls 5 5 0 ] MAP