Skip to content
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

DM-36390: calibrations should track sequencer crc #169

Merged
merged 1 commit into from Feb 17, 2023
Merged

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Feb 9, 2023

Add updateMetadataFromExposures calls.

@@ -162,6 +162,7 @@ def run(self, inputExp, camera):
msg = "Found %s defects containing %s pixels in %s"
self.log.info(msg, len(defects), self._nPixFromDefects(defects), datasetType)

defects.updateMetadataFromExposures([inputExp])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment, not really for here, but why so few items? Don't we need this for biases, darks, flats etc? I see they're all being compared in isrTask.run() but are they being set correctly somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are merged in merge_headers for the bias, dark, and flat. For the IsrCalib based products, this call adds the header information from the exposure to the per-exposure defect set, which are then combined in the Merge task. I wanted to have a central method (this is part of the base class) to handle these keywords.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, great, thanks.

@czwa czwa merged commit 7b3668c into main Feb 17, 2023
@czwa czwa deleted the tickets/DM-36390 branch February 17, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants