force icon indicating copy to clipboard operation
force copied to clipboard

Statistical metrics (STMs) incorrectly calculated for interpolated time-series that includes repetition

Open leonsnill opened this issue 3 years ago • 1 comments

Potential Bug I have observed some pixels to exhibit incorrect statistics (STMs, e.g. Q10) when comparing the FORCE calculated values to "manually" calculated statistics by looking at the RBF interpolated TSI values. So far, I could only find such a behaviour when the TSI has repetitive values.

Example RBF based TSI of MNDWI values (zeros are actually NaNs and only displayed as zeros):

image

The associated STM values:

image (1)

leonsnill avatar Apr 07 '21 13:04 leonsnill

This is somehow related to the quick-sort algorithm used to compute the quantiles. There seems to be some hiccup when repetitive values are included. I could not get to the bottom of it, though...

davidfrantz avatar Sep 05 '22 12:09 davidfrantz

This is now eventually fixed with f32cc673233e25ce417e84dd1a0d61ce3830d8cd

davidfrantz avatar Jul 01 '23 10:07 davidfrantz