Skip to content

Edited sky glint prior, added indexing in glint model, edited bands in fit_params#718

Merged
pgbrodrick merged 2 commits into
isofit:devfrom
evan-greenbrg:glint/Constrained
Jun 30, 2025
Merged

Edited sky glint prior, added indexing in glint model, edited bands in fit_params#718
pgbrodrick merged 2 commits into
isofit:devfrom
evan-greenbrg:glint/Constrained

Conversation

@evan-greenbrg

@evan-greenbrg evan-greenbrg commented Jun 20, 2025

Copy link
Copy Markdown
Collaborator

This PR:

  1. Formalizes edits to the sky glint prior. After testing, the simplest solution to negative sky glint values is to use a tightly constrained prior. This fits with intuition that the diffuse sky glint term should be spatially smooth.

  2. Glint-corrected solutions with EMIT images showed discrete brightness variations across the images s.t. some regions appeared brighter in the visible than others. A possible fix is to use longer wavelengths when available to set the initial reflectance guess.

  3. Added sun and sky glint indexing variables to move away from nameless integer indexing throughout the glint model.

Results from an EMIT granule (NOTE glint-corrected uses the 1st version of the emulator, multicomponent uses stable sRTMnet)
image

Comment thread isofit/surface/surface_glint_model.py Outdated
Comment thread isofit/surface/surface_glint_model.py Outdated
Comment thread isofit/surface/surface_glint_model.py Outdated
@unbohn

unbohn commented Jun 21, 2025

Copy link
Copy Markdown
Collaborator

@evan-greenbrg Looks good! Once minor issues (see above) are resolved, I'll mark this ready for merge.

@pgbrodrick

Copy link
Copy Markdown
Collaborator

Sorry I missed this today….generally looks good to me. I am curious if the updated algebraic inversion helps mitigate the need for the simple guess, but everything else looks great. Thanks especially for handling the sun/sky glint indexing

Comment thread isofit/surface/surface_glint_model.py Outdated
…or fit_params

Updates to AL and sky glint prior

Edits to sky glint prior

Editing glint fit parameters and adding indexing

Simplifying fit_params wl choice

Fixing typoes in surface_glint_model
@evan-greenbrg

evan-greenbrg commented Jun 30, 2025

Copy link
Copy Markdown
Collaborator Author

Sorry I missed this today….generally looks good to me. I am curious if the updated algebraic inversion helps mitigate the need for the simple guess, but everything else looks great. Thanks especially for handling the sun/sky glint indexing

Need to test the best first guess seeding with the glint model. Generally however, I reverted the default AOE first guess seeding. Algebraic performs well for the non-glint model and it's faster. If the glint model needs to use a different seeding, we can always change as needed.

@unbohn

unbohn commented Jun 30, 2025

Copy link
Copy Markdown
Collaborator

@pgbrodrick Please go ahead and merge once you have a minute.

@pgbrodrick pgbrodrick merged commit 4d6fc62 into isofit:dev Jun 30, 2025
17 checks passed
@evan-greenbrg evan-greenbrg deleted the glint/Constrained branch May 22, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants