-
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
RCAL-993 RCAL-992 - fix skycell asn schema, stop double json encoding skycell_wcs_info #1592
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1592 +/- ##
=======================================
Coverage 78.15% 78.16%
=======================================
Files 116 116
Lines 7646 7643 -3
=======================================
- Hits 5976 5974 -2
+ Misses 1670 1669 -1 ☔ View full report in Codecov by Sentry. |
f2bb41d
to
46a44b7
Compare
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.
You need to point me to where the tests and associations that you've generated are
The garbled contents can be seen with any association generated with skycell_asn. Would you like me to generate one for you? |
46a44b7
to
e49e09c
Compare
To provide another example (beyond the one in the linked issue #1589) the output from "skycell_wcs_info": "{\"name\": \"r274dp63x31y80\", \"pixel_scale\": 0.10000000149011612, \"ra_projection_center\": 274.2857142857143, \"dec_projection_center\": 63.0, \"x0_projection\": 67715.5, \"y0_projection\": -106920.5, \"ra_center\": 269.79530941742723, \"dec_center\": 65.95122676282939, \"nx\": 3564, \"ny\": 3564, \"orientat\": 355.99432373046875, \"orientat_projection_center\": 0.0}", Containing the garbled output from the double json encoding. |
e49e09c
to
054a961
Compare
I pushed a commit 9857276 that extends the
I restarted the regtests and they all pass. |
9857276
to
ba7fe03
Compare
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
Resolves RCAL-993
Resolves RCAL-992
Closes #1589
Closes #1590
This PR:
skycell_wcs_info
propertyskycell_wcs_info
Note that this preserves the possibility that
skycell_wcs_info
can be the string"none"
since that exists in association files in artifactory. Perhaps omittingskycell_wcs_info
when there is no info is a less clunky solution but that could be explored in a follow-up PR.Regtests all pass: https://github.com/spacetelescope/RegressionTests/actions/runs/12993930376
Tasks
24Q4_B15
(use the latest build if not sure)no-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)docs/
pageokify_regtests
to update the truth filesnews fragment change types...
changes/<PR#>.general.rst
: infrastructure or miscellaneous changechanges/<PR#>.docs.rst
changes/<PR#>.stpipe.rst
changes/<PR#>.associations.rst
changes/<PR#>.scripts.rst
changes/<PR#>.mosaic_pipeline.rst
changes/<PR#>.patch_match.rst
steps
changes/<PR#>.dq_init.rst
changes/<PR#>.saturation.rst
changes/<PR#>.refpix.rst
changes/<PR#>.linearity.rst
changes/<PR#>.dark_current.rst
changes/<PR#>.jump_detection.rst
changes/<PR#>.ramp_fitting.rst
changes/<PR#>.assign_wcs.rst
changes/<PR#>.flatfield.rst
changes/<PR#>.photom.rst
changes/<PR#>.flux.rst
changes/<PR#>.source_detection.rst
changes/<PR#>.tweakreg.rst
changes/<PR#>.skymatch.rst
changes/<PR#>.outlier_detection.rst
changes/<PR#>.resample.rst
changes/<PR#>.source_catalog.rst