banzai
banzai copied to clipboard
reduce_single_frame does not work
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.