[AstroPy] writing FITS files fast

Erin Sheldon erin.sheldon at gmail.com
Sun Apr 19 20:12:45 EDT 2015


Hi Ivan -

fitsio does support 64-bit.

Let's try to figure it out.  Can you please open an issue on the
fitsio page, with a full example (including the actual data you write,
etc)?

https://github.com/esheldon/fitsio

thanks,
-e

On 4/19/15, Ivan Zolotukhin <ivan.zolotukhin at gmail.com> wrote:
> 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
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>


-- 
Erin Scott Sheldon
Brookhaven National Laboratory erin dot sheldon at gmail dot com



More information about the AstroPy mailing list