Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle absence of TIRS Band 10 #14

Open
2 tasks
perrygeo opened this issue Oct 4, 2016 · 0 comments
Open
2 tasks

Handle absence of TIRS Band 10 #14

perrygeo opened this issue Oct 4, 2016 · 0 comments
Labels

Comments

@perrygeo
Copy link
Contributor

perrygeo commented Oct 4, 2016

When the TIRS band 10 is all-zero, as is the case with e.g. LC80460282016097LGN00, the equations 7&8 are filled with nans

    /Users/mperry/env/mapbox35/lib/python3.5/site-packages/numpy/lib/nanfunctions.py:1001: RuntimeWarning: All-NaN slice encountered
      warnings.warn("All-NaN slice encountered", RuntimeWarning)

Which leads to the masking of the entire scene, as if there were 100% clouds.

The fmask algorithm is capable of dealing with the absence of a thermal band. We just need to

  • figure out why some seemingly arbitrary scenes have blank thermal bands (is this a known TIRS issue @celoyd?)
  • adjust the implementation to fallback to a non-thermal mode.
@perrygeo perrygeo added the bug label Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant