Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: astro_metadata_translator
-
Labels:
-
Story Points:2
-
Sprint:Arch 2019-05-20
-
Team:Architecture
Description
When a user ingests a DECam instcal and runs exposure.getVisitInfo().getDate(), it returns an empty DateTime. ProcessCcd naturally assumes a non-empty DateTime and fails with a "DateTime not valid" error.
We think this problem originates in astro_metadata_translator, which likely was made to work with DECam raws and not DECam instcals. Instcals are apparently missing some of the expected header keywords.
This ticket is to fix things so ingested instcals have proper DateTimes and to add a test (presumably in astro_metadata_translator) that checks an instcal header.
See the full discussion on Slack here.
I'll look at this when I'm back in Tucson next week. In the mean time can someone please tell me where to find a file so that I can look at the header.