Skip to content

writing FITS files #54

@denfc

Description

@denfc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions