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: Check and fix the gain/offset to compute the reflectance of optical products #30

Closed
8 tasks done
remi-braun opened this issue Mar 31, 2022 · 2 comments
Closed
8 tasks done
Labels
bug Something isn't working

Comments

@remi-braun
Copy link
Member

remi-braun commented Mar 31, 2022

Check for other optical products if the gain and offset for reflectance computation is correctly handled:

  • Sentinel-2 L2A & L1C
    • PB < 04.00: ✅ divide by 10000
    • PB > 04.00: ✅ Use coefficients in the metadata (should be bias = -1000 and gain =1/10000)
  • Sentinel-2 Theia
    -> ✅ divide by 10000
  • Landsats
    -> ✅ Use the coefficients in metadata
  • Sentinel-3 OLCI and SLSTR
    -> ✅ Use the coefficients in metadata
  • DIMAP (Pleiades, Pleiades-Neo, SPOT-6 and 7):
    -> ✅ divide by 10000 (gain and offset are used to compute the radiance)
    -> ⚠️ Check if the product is delivered in Reflectance Radiometric Processing (should me, most of the time)
  • Maxar (GeoEYE, WV)
  • PlanetScope
    • ⚠️ Multiply DN by reflectanceCoefficient from metadata
  • Vision-1
    -> ⚠️ provided in TOA radiance (uint16) !
    Divide by 100 to get scaled radiance, then apply the formula to convert to reflectance

✅ : was OK
⚠️: to fix !

@remi-braun remi-braun added bug Something isn't working 0.14.0 labels Mar 31, 2022
@remi-braun remi-braun changed the title BUG: Fix the gain/offset of optical products BUG: Check and fix the gain/offset of optical products Mar 31, 2022
@remi-braun remi-braun changed the title BUG: Check and fix the gain/offset of optical products BUG: Check and fix the gain/offset to compute the reflectance of optical products Mar 31, 2022
@remi-braun
Copy link
Member Author

remi-braun commented Mar 31, 2022

  • Add an attribute to the spectral arrays saying they are in reflectance.

@remi-braun
Copy link
Member Author

remi-braun commented Apr 4, 2022

  • Create a function scaling raw data and maybe a keyword allowing the user to keep raw values.

remi-braun added a commit that referenced this issue Apr 7, 2022
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