main.reduce_single_frame always crashes on this line:
if not image_utils.image_can_be_processed(fits_utils.get_primary_header(runtime_context.path), runtime_context):
fits_utils.get_primary_header returns an astropy.io.fits.Header object, but image_utils.image_can_be_processed expects an ObservationFrame object for the image argument, because it checks image.obstype, for example.
We just ran into this problem tonight (sans Griffin) while trying to implement banzai on the Mont4K camera (a single chip, two amp imager) on the Kuiper 1.5m.
main.reduce_single_frame
always crashes on this line:fits_utils.get_primary_header
returns anastropy.io.fits.Header
object, butimage_utils.image_can_be_processed
expects anObservationFrame
object for theimage
argument, because it checksimage.obstype
, for example.