Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_lsst
-
Labels:None
-
Story Points:4
-
Epic Link:
-
Sprint:DRP F19-2, DRP F19-4
-
Team:Data Release Production
Description
For individual obs packages, we are using "translators" to convert metadata from raw files into internally consistent conventions (as many telescopes have different sets of conventions and header naming). Our convention for boresight rotation angle is:
At boresightRotAngle = 0, the focal plane pixels are aligned: |
+x: E->W (-ve RA), +y: S->N (+ve Dec) |
(and see the documentation).
Accordingly, the imsim translator in obs_lsst should reflect that:
boresightRotAngle = 90 deg - ROTANGLE |
(where the ROTANGLE is the FITS card in the raw data).
The reason data is currently being processed properly is due to a compensation (prior to the translator functionality) for this 90 deg shift in the lsstCamMapper here. This latter "correction" should be removed from there and accommodated in the imsim translator.
This change will be validated by running a visit of DC2 data before and after and checking that we get consistent results.
This is almost ready to go (Tim Jenness, I'm planning on sending it your way once I've finished my validations if that's ok). It occurs to me that a similar addition may be required for the phosim translator, but I have no way of testing this. I'm also unsure what it means to have two FITS header cards identified for the boresight_rotation_angle in the phosim translator:
Do any of the watchers here know what (if anything) should be done here?
And note that Robert Lupton confirmed that nothing should be done for the other cameras in obs_lsst as this will not be possible to get properly taken care of until real on-sky data from them materializes.