Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_mosaic
-
Labels:None
-
Story Points:3
-
Epic Link:
-
Sprint:DRP S17-4, DRP S17-5
-
Team:Data Release Production
Description
When importing meas_mosaic, the coordinate system for writing out the wcs/fcr files was not adapted to that expected from LSST (which always associates the detector origin with the electronics, whereas HSC's is such that a given detector's origin, pixel (0, 0) is associated with its LLC w.r.t. to the focal plane), but rather the tasks in meas_mosaic's updateExposure.py were adapted to account for the rotated CCDs. It was assumed that this was the only place those corrections were every used. This turns out not to be the case since the wcs used to create the coadd gets attached to it in coaddInputs. If meas_mosaic was run and doApplyUberCal=True (which are both the case for our HSC data processing), the wcs’s that are getting attached to the coaddInputs are not in the coordinate system appropriate for LSST for any nQuarter != 0 ccds.
Since this is already causing an issue in pipe_tasks's propogateVisitFlags.py, see issue highlighted in DM-9383, (and could very well be causing issues elsewhere as yet undiscovered), we have decided these outputs need to be written out in the coordinate system expected by LSST.
Attachments
Issue Links
- blocks
-
DM-9870 Release hscPipe 5.0-beta1
- Done
-
DM-9907 Release hscPipe 5.0-beta2
- Done
-
DM-10129 Process HSC RC dataset using Stack version chosen for the full S17B reprocessing
- Done
- is triggering
-
DM-10236 Properly apply the meas_mosaic solution
- Done
- relates to
-
DM-9901 TanWcs::rotateImageBy90 and flipImage do not transform SIP terms
- To Do
-
DM-9383 Investigate propagation of visit flags for certain patches in HSC RC processing
- Done
As we discussed yesterday, my plan is to put code to properly rotate a TanWcs with SIP terms in meas_astrom (since some of the machinery to do the work is already present there). I'll let you test that and plug it into meas_mosaic, and we can figure out how to refactor that code and deprecate the incomplete rotation code in afw on a future issue.