astropy: Table.read(filename) is 10 times slower than Table(fits.getdata(filename))
Hey table
team –
I have a ~1.5 GB FITS file with ~100 columns, and noticed the following:
Is this expected, or a known performance issue? I didn’t see a reference to this in the docs or currently open issues, but may have missed it…
This is with Astropy v3.0.1.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 43 (43 by maintainers)
See #7422 for a fix.
@adrn - Could you upload your file to somewhere?
Tagging myself because I might be of help. Would be useful to have a self-contained test case, with data
Maybe it is something to do with this FITS file?
fitsverify
says it’s ok.BTW: there are no string columns. Here are all the datatypes in this file:
['>f4', '>f8', '>i2', '>i4', '>i8']
I’ll upload the file somewhere…
Weiiiiiirddddd