Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_aos
-
Labels:
-
Story Points:10
-
Team:Telescope and Site
-
Urgent?:No
Description
Adapt the latest file format of corner WFS. This task should update the phosim_utils to repackage the amplifier images by PhoSim to mimic the output by camera control system (CCS). The example files can be found in NCSA. The path is /project/shared/BOT. The raw data is under the _parent directory. For example:
Notice the above files are the symbolic links (created by the ingestion of obs_lsst). The file names by CCS are:
The image name consists of 4 parts (e.g. MC_C_20200906_000371), where MC=Main Camera, C=CCS (who is in control, CCS or OCS), 20200906 = obsdate, 000371 = sequence number within obsdate. The exposure time is not in the file name, but should be in the primary header(s).
For the difference between SW0 and SW1, need to follow the latest document: LCA-13381.
In this task, we need to make sure the repackaged images can be ingested by obs_lsst and assembled to be two CCDs with the correct geometry compared with the eimage in PhoSim.
Attachments
Issue Links
- clones
-
DM-26836 Adapt the Latest File Format of Corner WFS
- Invalid
- has to be done after
-
DM-28557 Update phosim_syseng4 segmentation.txt gain and read noise
- Done
- has to be done before
-
DM-28341 ingest phosim images into Butler with as-built camera geometry
- Done
- is parent task of
-
DM-27836 Correct amplifier gain values in LsstCamMapper
- Done
-
DM-27863 Allow controller = 'H' for exposure_id calculation
- Done
-
DM-28046 Update PhosimEimgParseTask to use LsstCam
- Done
-
DM-28330 Update search pattern for amplifier images
- Done
The ticket branch has a working repackager: https://github.com/lsst-dm/phosim_utils/blob/tickets/DM-26836/python/lsst/phosim/utils/phosim_repackager.py
A need for storage of test files necessitates adding a task to phosim_utils that will threshold the FITS images to reduce the file size, while allowing to add unit tests of the repackaging of amplifier images (currently only e-image repackaging is included in test coverage).