radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
96 stars 63 forks source link

buffer overflow when reading in alma data cube with varying beam #645

Open gvdsteene opened 4 years ago

gvdsteene commented 4 years ago

This error happened before, it s mentioned in a previous issue, but I don't find the solution in that issue, so please help

python 3.6

from spectral_cube import VaryingResolutionSpectralCube cube = VaryingResolutionSpectralCube.read('name.fits') buffer overflow detected : python3 terminated Aborted (core dumped)

same error when using SpectralCube.read(filename)

It is an ALMA data cube with beam table fv on fitsfile says: 0 Primary Image 200x200x127x1 1BEAMS Binary 5 cols x 127 rows

Thanks

keflavich commented 4 years ago

What version of spectral-cube are you using? Can you open the FITS file with astropy.io.fits?

What previous issue mentions this?