planetlabs / plcompositor

seamless and cloudless image mosaics from deep stacks of satellite imagery
http://planet.com
Apache License 2.0
101 stars 21 forks source link

Add support for landsat8 surface reflectance cloud masks #15

Closed joferkington closed 7 years ago

joferkington commented 7 years ago

Some Landsat8 surface reluctance products use a different cloud/quality band convention than the standard quality band. The cloud files for these products are 8-bit data representing a series of bit masks using the following convention:

image

This PR adds support for these files via the landsat8sr quality (as opposed to the usual landsat8 quality to exclude clouds etc).

Note that this PR still needs a bit of refinement, but I wanted to get eyes on it relatively early. cc @kapadia @kjordahl @warmerdam