rio-cloudmask icon indicating copy to clipboard operation
rio-cloudmask copied to clipboard

Fails when there are no clear sky land pixels

Open perrygeo opened this issue 9 years ago • 2 comments

Proximate failure: the temp_land function returns a single nan which prevents the tlow, thigh = temp_land(pcps, water, tirs1) from unpacking (expects two variables)

But the bigger question is, what should the algorithm do in this case? It's not well defined in the publication so I'll have to dig into the implemetation.

perrygeo avatar Sep 14 '16 15:09 perrygeo

This is one scene that fails on it: LC80250322016238LGN00. Note that it's all clouds and water, no land. This will be common enough that it's an issue.

clouds_water

perrygeo avatar Sep 14 '16 18:09 perrygeo

Strange, I'm not able to reproduce this after trying this and a few other scenes. Gonna need to dig deeper to find a failing test case.

perrygeo avatar Sep 29 '16 15:09 perrygeo