Keck-DataReductionPipelines / KPF-Pipeline

KPF-Pipeline
https://kpf-pipeline.readthedocs.io/en/latest/
Other
10 stars 2 forks source link

Pipeline crash for bad IMTYPE #798

Closed awhoward closed 5 months ago

awhoward commented 5 months ago

The pipeline crashed when it tried to process a bad file (one of the ones below, I'm not sure which). A screenshot of the error is attached. We should catch this error and find a way to proceed.

KP.20240201.63097.08 KP.20240201.63151.50

Screenshot 2024-02-01 at 10 08 44 AM
bjfultn commented 5 months ago

I don't really see a way to process a file without knowing what it is. Its currently crashing in the QC but if we let it go past that it will just crash somewhere else. Based on this output it looks like it just crashed for this file but continued waiting for others. Is that correct?

awhoward commented 5 months ago

Good points. This Issue may be moot because Brad was able to remake the affected L0 files, and, as you say, files with this flaw may be deadends.

bjfultn commented 5 months ago

ok, closing this then because I think that the current behavior is what we want.