I want to use Savitzky-Golay (savgol) filter to my time series MODIS dataset to remove noises (i.e., cloud pixels, etc.) in my data. MODIS have quality flags that indicates the reliability of each pixel values or if the pixel is possibly affected by clouds. So I would like to incorporate these...