1
/* mod13A2 Mandatory QA Flags 1Km bits[0-1]
2
* 00 -> class 0: VI produced, good quality
3
* 01 -> class 1: VI produced, but check other QA
4
* 10 -> class 2: Pixel produced, but most probably cloud
5
* 11 -> class 3: Pixel not produced due to other reasons than clouds
8
#include <grass/raster.h>
10
CELL mod13A2a (CELL pixel)
13
qctemp = pixel & 0x03;