rio-cloudmask
rio-cloudmask copied to clipboard
Fails when there are no clear sky land pixels
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.
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.
![]()
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.