mod11A1a.c 490 B

12345678910111213141516171819
  1. /* mod11A1 Mandatory QA Flags 1Km bits[0-1]
  2. * 00 -> class 0: LST produced, good quality, not necessary to examine more detailed QA
  3. * 01 -> class 1: LST produced, other quality, recommend examination of more detailed QA
  4. * 10 -> class 2: LST not produced due to cloud effects
  5. * 11 -> class 3: LST not produced primarily due to reasons other than cloud
  6. */
  7. #include <grass/raster.h>
  8. CELL mod11A1a (CELL pixel)
  9. {
  10. CELL qctemp;
  11. qctemp = pixel & 0x03;
  12. return qctemp;
  13. }