Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce_single_frame does not work #350

Open
griffin-h opened this issue Nov 1, 2022 · 1 comment
Open

reduce_single_frame does not work #350

griffin-h opened this issue Nov 1, 2022 · 1 comment

Comments

@griffin-h
Copy link

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.

@dsand
Copy link

dsand commented Dec 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants