Phosim_syseng4 orientation of the CCDs in the focal plane is offset by 90 degrees with respect to obs_lsst. This means that images simulated with phosim with rotSkyPos of 0 need to be ingested into a Gen3 repo with ROTANG of 90 for proper WCS alignment, or handled within `ts_phosim` (see https://github.com/lsst-dm/phosim_utils/pull/19). The offset is described eg, https://github.com/lsst-ts/phosim_syseng4/pull/6 and https://github.com/lsst-ts/phosim_syseng4/pull/7 . This ticket is to fix that offset by aligning phosim orientation with that of obs_lsst, for {{segmentation.txt }}and {{focalplanelayout.txt in }}data/comcam and data/lsst
Completion criteria
- ensure that phosim raw files can be repackaged, ingested, and correctly ISR in a gen3 repo
- run imgCloseLoop and opdCloseLoop before and after the change, ensure that the loop converges