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

writing FITS files #54

Open
denfc opened this issue Feb 11, 2025 · 0 comments
Open

writing FITS files #54

denfc opened this issue Feb 11, 2025 · 0 comments

Comments

@denfc
Copy link

denfc commented Feb 11, 2025

I can read a FITS file easily, img = AstroImage("file.fits"), and then I just attempt to write it back, either with its original header AstroImages.save(outputFname, img; header = head) or without it AstroImages.save(outputFname, img) (FITS files have to have a header?), which I should be able to do, but I receive errors of the type "FITSIO writer error: neither save nor fileio_save is defined due to FileIO.SpecError(FITSIO, :save)" .

Guided by Copilot, I've also tried to save that img with various combinations of FITSIO directly. It looks like there's a issue with the Julia CFITSIO interface.

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

1 participant