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

BUG: Clip negative reflectances to 0 #79

Closed
remi-braun opened this issue Feb 20, 2023 · 0 comments
Closed

BUG: Clip negative reflectances to 0 #79

remi-braun opened this issue Feb 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@remi-braun
Copy link
Member

remi-braun commented Feb 20, 2023

Sentinel-2 data (but surely others) can have negative reflectance values, which are meaningless and therefore should be discarded as they will affect spectral indices.

The reflectance arrays will be clipped to 0.

NB: reflectances values over 1 are allowed.

@remi-braun remi-braun added the bug Something isn't working label Feb 20, 2023
@remi-braun remi-braun changed the title BUG: Sentinel-2 data has native reflectances BUG: Negative reflectances Feb 20, 2023
@remi-braun remi-braun changed the title BUG: Negative reflectances BUG: Clip negative reflectances to 0 Feb 20, 2023
bastiencyr pushed a commit to bastiencyr/eoreader that referenced this issue May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant