Closed schlafly closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.03%. Comparing base (
1898ca5
) to head (3d7d787
). Report is 8 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Regtests are "passing"; two new failures because of the added individual_image_cal_logs bit in the asdf file. If we like this approach, we should exclude those from compare_asdf.
After adding individual_image_cal_logs to the list of extensions to ignore, regtests actually pass. https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/726/
This PR leads HLP products to have their "cal_logs" attribute filled out.
Previously these were not being populated because stpipe.core was explicitly checking that the output datamodel was an ImageModel. This PR changes that to check if it's either an ImageModel or a MosaicModel. It also clears the CalLogs when making a new output model to avoid some initial filler values.
Finally, a big portion of the HLP is processing the input L2s; flux calibration, sky matching, outlier detection. Those logs go into the L2 products which we do not save. This adds a new individual_image_cal_logs extension parallel to cal_logs that houses the individual L2 log messages. We probably want that?
Checklist
CHANGES.rst
under the corresponding subsection