-
Notifications
You must be signed in to change notification settings - Fork 167
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
JP-3436 Empty wavelength array in s2d products #8374
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8374 +/- ##
=======================================
Coverage 56.38% 56.39%
=======================================
Files 387 387
Lines 38716 38723 +7
=======================================
+ Hits 21830 21837 +7
Misses 16886 16886 ☔ View full report in Codecov by Sentry. |
@nden Need your expert insight as to whether this will have the desired effect. |
The code looks good to me but don't take my word for it. It won't hurt to add tests verifying that the wavelength array is identical to the computed one. The miri slit test can go in test_miri_lrs_slit_spec3 or in a separate test. |
I checked the MIRI LRS truth and as of now it has a wavelength array of all zeros, same with the NRS data. I can add these tests for the future, but for now I think we'll have to "okayfy" them? |
What I meant is adding a test to check in all modes that |
Something's causing errors in the CI style check:
|
Failures were fixed in #8456 |
CI tests are passing and all the failures in the last regtest run appear to simply be due to the presence of the WAVELENGTH extension in s2d products, which wasn't there before. So I think everything looks good (?) |
Resolves JP-3436
Closes #7994
This PR populates the wavelength array in the s2d files.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR