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

ADD: Addition of above_toa_filter. #1586

Merged
merged 6 commits into from
Jun 20, 2024
Merged

Conversation

zssherman
Copy link
Collaborator

@zssherman zssherman commented May 22, 2024

This filter replaces toa parameter in gridding code and allows for the user to specify their own remove above toa filter by using the gatefilter for consistency between both gridding functions.

This filter replaces toa parameter in gridding code and allows for the
user to specify their own remove above toa filter by using the
gatefilter for consistency between both gridding functions.
@zssherman zssherman requested a review from mgrover1 May 22, 2024 20:28
@zssherman
Copy link
Collaborator Author

zssherman commented May 22, 2024

@mgrover1 Question is, do we continue if gatefilter is None, remove anything above 17000.0 for gridmapper, or leave it fully up to the user. It was originally in to speed up the slower method of grid_mapper

@zssherman
Copy link
Collaborator Author

@mgrover1 Changes have been done for backwards compatibility, this should be good now for a final review.

@zssherman
Copy link
Collaborator Author

@mgrover1 When you get a chance, this is good for a final review

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

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

Can we keep the toa parameter in map_gates_to_grid, and remove when we release in 2.0?

@zssherman
Copy link
Collaborator Author

zssherman commented Jun 17, 2024

@mgrover1 The only reason I removed it from the map_gates_to_grid but not grid mapper is that in map_gates_to_grid I did not see the parameter being used anywhere when I search for toa so I believe it was just there. I can add it back to be safe.

@zssherman
Copy link
Collaborator Author

@mgrover1 Added it back in.

@mgrover1
Copy link
Collaborator

the failing test is fixed in #1597

@mgrover1
Copy link
Collaborator

thanks for making those changes @zssherman

@zssherman zssherman closed this Jun 20, 2024
@zssherman zssherman reopened this Jun 20, 2024
@zssherman zssherman merged commit ce371a0 into ARM-DOE:main Jun 20, 2024
26 of 36 checks passed
@zssherman zssherman deleted the toa_filter branch June 20, 2024 16:45
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.

The toa parameter is interpreted differently in the two gridding methods
2 participants