Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_decam
-
Labels:None
-
Story Points:13
-
Epic Link:
-
Team:Data Facility
Description
The current obs_decam expects instrument calibrated data from the community pipeline, i.e. it requires matching instcal (Instrument Calibrated), dqmask (the associated mask file), and wtmap (weight map) data from the same visit. This issue is to add functionality so that raw DECam images can be ingested into registry and retrieved by the data butler.
Practically, this will create new or expand existing sub-classes of CameraMapper and IngestTask.
A brief summary of changes:
- The unit test getRaw.py is updated and should pass, with
DM-3196 - Working testdata_decam for the unit test is currently at lsst-dev /lsst8/testdata_decam and https://uofi.box.com/testdata-decam
- DecamInstcalMapper is renamed to DecamMapper, to reflect that Butler can also get "raw" now besides "instcal". Please update _mapper in your data repositories.
- To create a registry for raw data, run
ingestImagesDecam.py /path/to/repo --mode=link --filetype="raw" /path/*.fits.fz
- The default filetype is "instcal" for ingestImagesDecam.py, so previous use for instcal stays.
This looks good to me. I like having one ingester to ingest both types of data. I also think we should use Exposure instead of DecoratedImage, unless it won't work otherwise.
Some minor comments at: https://github.com/lsst/obs_decam/pull/2
I didn't run the unit tests, but I can if you'd like me to for completeness.