Percentile and ThresholdedPercentile index functions does not pass all unit tests
The Percentile and ThresholdedPercentile index functions does not pass all unit tests.
- The percentile call_function does not run since the aux coordinate for the percentile is passed as an input to the numpy function and not the point value of the aux coordinate.
- The numpy percentile function does not take the mask into consideration when computing the percentiles. A work around is to set the thresholded values to NaN and then use the np.nanpercentile to exclude the masked values from the computation.