-
Notifications
You must be signed in to change notification settings - Fork 180
JP-4036: Add quad observables to AMI outputs #9812
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
|
regtests with the stdatamodels PR branch: https://github.com/spacetelescope/RegressionTests/actions/runs/17587518587 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9812 +/- ##
==========================================
- Coverage 83.03% 82.84% -0.20%
==========================================
Files 366 366
Lines 37650 37536 -114
==========================================
- Hits 31261 31095 -166
- Misses 6389 6441 +52 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@rcooper295 Thanks very much for this PR! As I said on the stdatamodels one, I'll test the combination of the two PRs locally. Would you please:
Please do let me know if you are having trouble with any of these steps, and I'd be happy to help. Also, if you just simply don't have time/interest in doing this yourself, I'd be happy to take over from here - I know making pipeline code look nice and well-tested is probably slightly "above and beyond" your job description. |
|
I'm setting the build to 12.1 since we have 8 1/2 more workdays until the deadline, and the changes are not that huge, but with the understanding that this may not make it in. |
|
Thanks so much Ned! I'll try to finish that up this afternoon so you have as much time as possible to review/merge. |
emolter
left a comment
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.
Thanks Rachel, the code looks good to me overall. I made a few suggestions.
I tested running the pipeline with this branch and the stdatamodels branch. It seems to work, producing fits files that include a Q4 extension containing real data values. These models are loadable into stdatamodels.
One unrelated thing I noticed is that it seems the TIME column of the table is all zero-valued. The reason I say it's unrelated is because this appears to also be true for the other tables (e.g. OI_T3) too. Is that expected? What is that column supposed to do?
62a53fe to
ce5080e
Compare
4f60bb2 to
8e4beb6
Compare
I believe it's just what's expected; from the oifits v2 standard paper: "In OIFITS version 2 only MJD and DATE-OBS I think I finally made my way through the formatting errors although it still says the pre-commit.ci check failed, not sure how to proceed. |
|
It looks like the formatting errors are caused by the |
emolter
left a comment
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.
Thanks for updating this with all my previous suggestions! This is looking close to ready now. I left a few small suggestions about the unit tests.
Note the tests are expected to fail in our CI job because it's not pointing to the proper stdatamodels branch. But testing them locally they look good (except the one typo I flagged).
emolter
left a comment
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.
This looks good to me now. We will need to wait on merging this until the accompanying stdatamodels PR is ready and merged.
melanieclarke
left a comment
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.
Looks good, just one question about the INT_TIME column.
d2780f9 to
8c3ae19
Compare
melanieclarke
left a comment
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.
LGTM, pending merge of the stdatamodels PR. I'll leave it to @emolter to manage the merge and okify.
|
new round of regtests for okify https://github.com/spacetelescope/RegressionTests/actions/runs/17653021304 |
Resolves JP-4036
This PR addresses JP-4036, which adds four-hole observables (closure amplitudes and quad phases) to the AMI3 oi.fits products of the AmiAvergage and AmiNormalize steps, in a new extension called OI_Q4.
This PR depends on spacetelescope/stdatamodels#582
Tasks
Build 12.0(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)docs/pageokify_regteststo update the truth files