I'm currently working with MODIS data and i've been having some trouble with several aspects of the steps I need to take.
For example, I need to make a cloud mask from a daily MOD09GQK image, and i'm confused on how to do it. I have the QC_250m layer in a tif, but I don't understand the pixel values. I know I should convert, say 4096 to bits and get: 100000010010110, where the 3rd and 4th bits would represent the 00 'clear' flag.
But my main doubt is why do I get the same value where the image is cloudy and where the image is clear?
Thanks a lot