Skip to content

Removed negative rfl block in analytical_line#696

Merged
pgbrodrick merged 1 commit into
isofit:devfrom
evan-greenbrg:analytical_line/negative_rfl
Jun 5, 2025
Merged

Removed negative rfl block in analytical_line#696
pgbrodrick merged 1 commit into
isofit:devfrom
evan-greenbrg:analytical_line/negative_rfl

Conversation

@evan-greenbrg

@evan-greenbrg evan-greenbrg commented May 22, 2025

Copy link
Copy Markdown
Collaborator

Based on conversations, folks are leaning towards keeping negative reflectance values in the analytical line outputs. This introduces a complication that outside_ret_windows wavelengths are given a "hidden" fill value of -0.01. I looked into specifics on both the generation of the bad band list and the uncertainty of the return within this region.

The bad band list is populated as a list [1 - good band, 0 - bad band]. Does this need to be swapped to be read by envi, wiser, etc? The locations of the bad bands are accurate, as set by the inversion object (an EMIT example):

Screenshot 2025-05-22 at 10 40 56 AM

The returned uncertainty is also very high (at least for this test EMIT example):

The shaded region is the uncert output from the analytical_line.
Screenshot 2025-05-22 at 10 43 26 AM

The bad band list is read correctly by envi in the current form:
Screenshot 2025-05-23 at 2 59 18 PM

The edits proposed here, are only to remove the commented-out code block that previously dealt with negative reflectance values.

@pgbrodrick pgbrodrick merged commit 85dc26f into isofit:dev Jun 5, 2025
17 checks passed
@evan-greenbrg evan-greenbrg deleted the analytical_line/negative_rfl 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.

2 participants