[AstroPy] writing FITS files fast

Ivan Zolotukhin ivan.zolotukhin at gmail.com
Sun Apr 19 18:33:50 EDT 2015


On Mon, Apr 20, 2015 at 12:19 AM, Demitri Muna <demitri.muna at gmail.com> wrote:
>
> A quick glance at the source seems to suggest that fitsio does support
> int64...

Writing FITS file with columns having dtype='int64' causes this error
in fitsio 0.9.7:

File "/usr/local/lib/python2.7/dist-packages/fitsio/fitslib.py", line
448, in write
     table_type=table_type)
File "/usr/local/lib/python2.7/dist-packages/fitsio/fitslib.py", line
716, in write_table
     self[-1].write(data,names=names)
File "/usr/local/lib/python2.7/dist-packages/fitsio/fitslib.py", line
1508, in write
     firstrow=firstrow+1)
 TypeError: Unsupported numpy table datatype 9

--
With best regards,
 Ivan



More information about the AstroPy mailing list