You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my specific case I wish to update some headers in a binary table HDU, within a file with multiple HDUs.
The keywords that I wish to modify already exist, and then when my code attempts to modify them using write_key or write_keys what seems to happen is that rather than the existing entry in the header list being replaced, another dictionary is added with the same name and a different value entry.
I don't know then know how cfitsio writes that out to the file, but the tools I commonly use for analysis (topcat and XSPEC for instance) only see the original entry.
Perhaps I'm simply using fitsio wrong, but I can't figure out any way to force it to replace the existing entry, or delete the original so I can add a new entry without conflicts
The text was updated successfully, but these errors were encountered:
In my specific case I wish to update some headers in a binary table HDU, within a file with multiple HDUs.
The keywords that I wish to modify already exist, and then when my code attempts to modify them using write_key or write_keys what seems to happen is that rather than the existing entry in the header list being replaced, another dictionary is added with the same name and a different value entry.
I don't know then know how cfitsio writes that out to the file, but the tools I commonly use for analysis (topcat and XSPEC for instance) only see the original entry.
Perhaps I'm simply using fitsio wrong, but I can't figure out any way to force it to replace the existing entry, or delete the original so I can add a new entry without conflicts
The text was updated successfully, but these errors were encountered: