-
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-850 Addition of catalog step to mosaic pipeline #1266
Conversation
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, I flagged one bit I was confused by.
@@ -77,7 +80,8 @@ def process(self, input): | |||
# check to see if the product name contains a skycell name & if true get the skycell record | |||
product_name = input.asn_table["products"][0]["name"] | |||
try: | |||
skycell_name = product_name.split("_")[3] | |||
skycell_name = product_name.split("_")[1] | |||
skycell_name = input.asn_table["target"] |
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.
At present the product_name-based skycell_name is immediately overwritten by the target-based one? Probably just delete line 83 if we have updated asn files?
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.
And now you know why it is a draft.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1266 +/- ##
==========================================
- Coverage 78.92% 78.87% -0.05%
==========================================
Files 117 117
Lines 8065 8071 +6
==========================================
+ Hits 6365 6366 +1
- Misses 1700 1705 +5
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
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, thanks.
…1266) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Resolves RCAL-850
Closes #1256
This PR adds the source catalog step to run on the resampled image at the end of the mosaic pipeline to create the
_cat.asdf
_segm.asdf
files.
Checklist
CHANGES.rst
under the corresponding subsectionhttps://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/813/