Skip to content

Cleaning out of date comments#693

Merged
pgbrodrick merged 2 commits into
isofit:devfrom
evan-greenbrg:clean/comment_clean
May 19, 2025
Merged

Cleaning out of date comments#693
pgbrodrick merged 2 commits into
isofit:devfrom
evan-greenbrg:clean/comment_clean

Conversation

@evan-greenbrg

Copy link
Copy Markdown
Collaborator

Some spring cleaning of code that I've been responsible for.

This primarily removes/fleshes out comments that reflected past iterations of the glint model.

@evan-greenbrg evan-greenbrg May 15, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently commented out, but I want to bring it back to attention. How should we formalize negative/out of bounds reflectance? We should remove this code block if we want to keep the AL unconstrained in the output.

L470 analytical_line.py

            # What do we want to do with the negative reflectances?
            # state = output_state[r - start_line, ...]
            # mask = np.logical_and.reduce(
            #     [
            #         state < self.rfl_bounds[0],
            #         state > self.rfl_bounds[1],
            #         state != -9999,
            #         state != -0.01,
            #     ]
            # )
            # state[mask] = 0

@pgbrodrick pgbrodrick merged commit f677a5e into isofit:dev May 19, 2025
17 checks passed
@evan-greenbrg evan-greenbrg deleted the clean/comment_clean 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