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

Ignore dead pixels in the SR cloud mask #16

Closed joferkington closed 7 years ago

joferkington commented 7 years ago

SR cloud mask files sometimes have a smaller extent than their parent landsat scene. When that occurs, cloudy pixels from the parent scene can leak into the mosaic in the region where there is no overlap between the cloud mask and the scene.

As an example: old_sr_cloud_mask

This PR changes the landsat8sr quality to ignore pixels where there are no values in the landsat8 surface reflectance cloud mask.

As an example of the new results: new_sr_cloud_mask