Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_decam
-
Labels:None
-
Epic Link:
-
Team:Alert Production
-
Urgent?:No
Description
As noted in https://community.lsst.org/t/decam-mosaic-ingestion-error/4233, obs_decam raw ingest scans the instcal, dqmask, and wtmap directories for exposures. It assumes that all files in those directories are exposures, which is not always the case. In this case, a macOS .DS_Store file failed to be scanned.
A modification to the code around https://github.com/lsst/obs_decam/blob/master/python/lsst/obs/decam/ingest.py#L136, either filtering to only process FITS filenames or handling any failures from readMetadata(), would fix this.
It is worth mentioning that this is not raw ingest, this is instcal ingest, which is not the default mode of use (actual raw ingest). Agreed this is likely a quick fix, but there are a whole bunch of idiosyncratic things in how we handle DECam instcals which it may open up.