Details
-
Type:
Bug
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_tasks
-
Labels:
-
Story Points:1
-
Epic Link:
-
Team:Data Release Production
Description
ingestImages.py does not read the first HDU and prints the following warning (for obs_cfht) :
ingest.parse WARN: Error reading rawDownload/1022062p.fits.fz extensions set(['ccd00'])
|
setting extnum = 0 instead of 1 in https://github.com/lsst/pipe_tasks/blob/master/python/lsst/pipe/tasks/ingest.py#L70 seems to fix the problem. But it is probably just a workaround
Robert Lupton why did you change the default extension to be INT_MIN I would have thought that zero would be a perfectly reasonable default. Is this a secret code for "find the first non-empty extension"?