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

Revert "AL-875: Add memory saving options to compute_weight_threshold sigma_clip call" #315

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Nov 1, 2024

Reverts #312

The reverted PR is causing regression test failures due in part to np.mean on a masked float32 array (which was the pre-PR behavior) producing a different result compared to a np.mean on a float32 array.

@braingram braingram marked this pull request as ready for review November 1, 2024 18:18
@braingram braingram requested a review from a team as a code owner November 1, 2024 18:18
Copy link
Collaborator

@emolter emolter left a comment

Choose a reason for hiding this comment

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

This PR is causing a failure in a single pixel of a _median product on the JWST side, which is an intermediate product. My opinion is there is no need to revert this based on the JWST regression tests alone.

I'm approving this anyway because it sounds like the Romancal team is still not sure whether the two failing regression tests are a cause for concern, and they'd like this not to be merged until they can figure that out.

@braingram braingram enabled auto-merge November 1, 2024 19:34
@braingram braingram requested a review from schlafly November 1, 2024 19:39
Copy link
Collaborator

@schlafly schlafly left a comment

Choose a reason for hiding this comment

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

Approving. FWIW, I don't think this is a major issue on the Roman side either, and I'm not pushing hard to remove this change on the basis of the romancal regression tests. We could go ahead and okify those. But I understand that we didn't intend to cause changes due to this PR and so may want to revisit it.

@braingram braingram merged commit 63d5280 into main Nov 1, 2024
24 of 25 checks passed
@braingram braingram deleted the revert-312-AL-875 branch November 1, 2024 20:48
braingram added a commit to braingram/stcal that referenced this pull request Nov 14, 2024
…hreshold sigma_clip call" (spacetelescope#315)"

This reverts commit 63d5280, reversing
changes made to 5299646.
braingram added a commit to braingram/stcal that referenced this pull request Nov 21, 2024
…hreshold sigma_clip call" (spacetelescope#315)"

This reverts commit 63d5280, reversing
changes made to 5299646.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants