Closed DBernardes closed 2 years ago
The primary header/image has to be created when the file is created. So create-img is always going to be creating the secondary headers. If you really want to only have the primary header, you should be able to set the size of the primary and then write to it, without calling create-img. Note the primary header has to always be an image and can't be a table.
It worked. Thanks!
Hi, I am using the GFITSIO package to create fits images. However, when using the gfitsio-create-img function, the image is created with two headers. Is there a way to fix this?