ingestImages.py is failing on some CFHT images downloaded by @idellant from the CADC portal. This is coming from the method : getExtensionName(md) in pipe_taks/…/ingest.py which is looking for 2 separate “EXTNAME” entries in the metadata and only found one in @idellant exposures.
In a regular CFHT exposure we have:
EXTNAME = ‘COMPRESSED_IMAGE’ / name of this binary table extension
EXTNAME = 'ccd02 ’ / CCD number in the mosaic
While in the faulty one we only have the second entry.
Does this double “EXTNAME” entry mandatory in the fit standard, meaning that CADC has screwed up something during image processing ? Or is it non mandatory, in which case we have to fix pipe_tasks/…/ingest.py in order to accept the single “EXTNAME” ?