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

ENH: Load bands as radiance #54

Open
remi-braun opened this issue Sep 13, 2022 · 1 comment
Open

ENH: Load bands as radiance #54

remi-braun opened this issue Sep 13, 2022 · 1 comment
Labels
community driven Needs community support to be implemented enhancement New feature or request

Comments

@remi-braun
Copy link
Member

For now, we can load bands "as is" and converted to reflectance.

It would be great to allow the user to load bands as radiance too, as asked in #50.

It may be also pertinent to differentiate TOA and BOA reflectances.

@remi-braun remi-braun added the enhancement New feature or request label Sep 13, 2022
@remi-braun
Copy link
Member Author

The current workaround is:

  • loading the bands "as is"
  • then using the following private method (this isn't tested but should work):
# Convert DN into radiance
nir_array_rad = prod._dn_to_toa_rad(nir_array_dn, NIR)

⚠️ This methods doesn't exist for every optical products!

@remi-braun remi-braun added the community driven Needs community support to be implemented label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community driven Needs community support to be implemented enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant