[GIS] Applying pixel reliability mask to time series MOD13Q1

envindviremote sensing

I am working with a 23-band GEOTiff in which each band is a 16-day MVC MODIS NDVI image. The MODIS .hdfs include a "pixel reliability" image with the following values:

     [-1]: Fill/No Data-Not Processed. 
     [0]:  Good data      - Use with confidence 
     [1]:  Marginal data  - Useful, but look at other QA information 
     [2]:  Snow/Ice       - Target covered with snow/ice 
     [3]:  Cloudy         - Target not visible, covered with cloud

I want to apply a quality mask using ENVI to elimate pixels with values of -1, 2 and 3. I know how to do this for a single image using the "Build Mask" function in ENVI. If I use the 23-band NDVI.tiff file as my input and use the 23-band pixel reliability file as my mask, will this mask each NDVI image with its respective pixel reliability (i.e. January 1st NDVI will be masked with the January 1st pixel reliability mask), or will the "Build Mask" perform some other operation?

If I am thinking about this in the wrong way, is there a better way to apply the quality mask to the time-series stack?

Many thanks!

Emily

Best Answer

You should apply mask to NDVI image accordingly one by one. Because every NDVI band has its own pixel reliability band, but ENVI does not have this function of automatically masking each NDVI band by matching pixel reliability band.