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
but fitsio fails when trying to write out that header card:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/fitsio/fitslib.py", line 396, in write
fits.write(
File "/usr/local/lib/python3.9/site-packages/fitsio/fitslib.py", line 693, in write
self.write_image(data, extname=extname, extver=extver,
File "/usr/local/lib/python3.9/site-packages/fitsio/fitslib.py", line 795, in write_image
self[-1].write_keys(header)
File "/usr/local/lib/python3.9/site-packages/fitsio/hdu/base.py", line 344, in write_keys
self.write_key(name, value, comment=comment)
File "/usr/local/lib/python3.9/site-packages/fitsio/hdu/base.py", line 240, in write_key
self._FITS.write_undefined_key(self._ext+1,
OSError: FITSIO status = 207: illegal character in keyword
The following keyword is too long to fit on a card:
DECALS_DR9_954A179-Z-20160812T055930_OI[S29,NOINHERIT][2046,4094][REAL]:
The text was updated successfully, but these errors were encountered:
Hi,
To reproduce:
This is with fitsio 1.1.8.
This file has a pretty weird card in the extension header,
which then gets read in / printed by fitsio as
but fitsio fails when trying to write out that header card:
The text was updated successfully, but these errors were encountered: