-
Notifications
You must be signed in to change notification settings - Fork 28
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
TweakReg regression test fix. #919
TweakReg regression test fix. #919
Conversation
Codecov ReportAll modified lines are covered by tests ✅
📢 Thoughts on this report? Let us know!. |
Is there some reason you are switching from WFI01 to WFI02? |
Yes; the reason is that seven files are throwing an error (
If we can't process the files through For the resample regression test specifically, we are using SCA 02 because that allows us to test the alignment of the same SCA but from different exposures (the latest simulations have a small offset between exposures). SCA 01 can't be used for that since it can't be processed through
I don't think so; this issue affects only TweakReg.
Yes, it is a WFISim file with Gaia sources in it. |
b8f9f66
to
f873f7b
Compare
Do we have a timescale of when the "error (ValueError: Out of domain for acos)" might be fixed? This clearly cannot go into the elpp until this is working. |
898873c
to
2d3d199
Compare
The ticket for that work is https://jira.stsci.edu/browse/RCAL-688. |
61389a5
to
94acb0a
Compare
What is the actual level of agreement you're getting? I said atol = 0.001 but I'm not sure what I was thinking; that's the 3.6" agreement we were talking about before. You did atol=1e-5, which is 0.036" = 0.36 pixel, which is not great; we really want ~0.01 - 0.001 pix or something. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
b94dc4a
to
2566277
Compare
~We are using |
The tolerance for the difference between the expectation and the catalog updated coordinates has been set to |
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 Mairan. That looks good to me.
This PR implements the following items to fix TweakReg's (TR) regression test:
name
from being properly set;roman-pipeline/dev/WFI/image/r0000501001001001001_01101_0001_WFI02_cal_tweakreg.asdf
;roman-pipeline/dev/truth/WFI/image/r0000501001001001001_01101_0001_WFI02_tweakreg.asdf
.The truth file in Artifactory was created by processing the cal file through the
TweakRegStep
:The association file (named
asn_filename.json
above) used in the creation of the truth file has the following content:The file used as input for the regression test,
r0000501001001001001_01101_0001_WFI02_cal.asdf
, was provided by @tddesjardins and has been processed throughassign_wcs
,photom
, andsource_detection
. We added thetweakreg
suffix before uploading it to Artifactory.Astrometric Utils unit tests
This PR also adds parallax correction to the unit tests for the
astrometric_utils
package.Since the coordinates in the catalog obtained from the VO API are now being updated for proper motion and parallax, we must consider that in the
test_astrometric_utils
suite.Regression test
${\text{\color{red}The regression tests are failing to start and Zach and William are working on fixing it.}}$
All regression tests are passing: https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/401/Checklist
CHANGES.rst
under the corresponding subsection