-
Notifications
You must be signed in to change notification settings - Fork 174
JP-3564: Rebase nrs deepcopy #8793
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8793 +/- ##
==========================================
+ Coverage 61.75% 61.80% +0.04%
==========================================
Files 377 377
Lines 38750 38828 +78
==========================================
+ Hits 23931 23997 +66
- Misses 14819 14831 +12 ☔ View full report in Codecov by Sentry. |
7810add
to
e6adbb6
Compare
Regtest run started after the okify work was completed: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1727/ |
@nden - there were some changes in jwst/nsclean/nsclean.py in Tim's original PR that should be ported forward to their new location in jwst/clean_flicker_noise/clean_flicker_noise.py. Are you still working on this one? I can send a code suggestion for where to get that in if it would help. |
792ab88
to
1826b7a
Compare
@melanieclarke Yes, please point me to the nsclean code change and I'll include it here. |
The changes from Tim are these ones: They should be ported in to the I can't directly add a suggested change, but I can send a PR to your branch if that's not enough information. |
Thanks @melanieclarke. Made a commit with the changes. |
Failures in the latest run are unrelated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I compared this PR to Tim's original one I reviewed before, and all the changes look good.
The change log needs de-conflicting again, then this should be ready. Thanks!
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
Co-authored-by: Melanie Clarke <mclarke@stsci.edu>
3b7d052
to
2c21b8d
Compare
Done |
Most recent regtests show matching failures to main, so I'm merging. Thanks! https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1736/ |
Resolves JP-3564
Closes #8338
This PR is a copy of #8587 with minor changes to the names of functions. Below is a copy of the comment in the original comment by Tim Brandt.
This PR addresses the long run times of calwebb_spec2 for NIRSpec data, primarily in IFU mode, due to deep copying of WCS objects. These deep copies can take about 70% of the run time because they take place within loops over the pseudo-slits. This PR implements helper functions that copy then necessary bits of the WCS objects and then apply them to a single copy, reducing the number of deep copies of full WCS objects by about a factor of 30 in NIRSpec IFU mode. The runtime of calwebb_spec2 for NIRSpec IFU data decreases by almost a factor of 3.
Tasks
Build 11.3
(use the latest build if not sure)CHANGES.rst
within the relevant release section (otherwise add theno-changelog-entry-needed
label to this PR)docs/
pageokify_regtests
to update the truth files