1

I am trying to understand how to use the Lansdat 8 cloud quality band. The user guide L8_Surface-Reflectance-Code-LASRC-Product-Guide.pdf does not explain much, but just gives tables (Table 7-1, 7-2 and 7-3) I don't really understand how to read those, and how to use them.

Could someone help walk through this table? My understanding is I need to convert the results of the pixel_qa band into bits. In R, I use intToBits() and get a sequence of bits, say for pixel value 388:

intToBits(388)
#>  [1] 00 00 01 00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
#> [24] 00 00 00 00 00 00 00 00 00

How do I interpret this? What about the Cloud confidence Attribute/ Do I have to do bite addition of columns 6 and 7? I imagine also that some attribute contradict each other (cannot have clear and cloud and high cloud confidence in the same time?)

Source:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.