glue-viz / glue

Linked Data Visualizations Across Multiple Files
http://glueviz.org
Other
729 stars 153 forks source link

Crashes when trying to do PV diagram #1820

Open rgalvanmadrid opened 6 years ago

rgalvanmadrid commented 6 years ago

Hi.

Glue crashes when trying to do a PV diagram on a cube from ALMA data.

I have tried with both Python 3.6.6 and 3.6.2. The cube as been fiddled with a bit so that it displays in Glue (eliminated 4th Stokes axis).

Screenshots of moment before crash (it crashes when I press enter to make create the PV plot) and error attached. It does run in the laptop of a student. Both of us have Linux ubuntu with Python Anaconda 3.6.X (python_362) roberto@batilaptop:~/G33_ALMA/andrea/data$ python --version Python 3.6.6 :: Anaconda, Inc.

error_glue.txt

crash_moment

astrofrog commented 6 years ago

I think you might be running into https://github.com/astropy/astropy/issues/7412 - can you try and remove the OBSGEO-X, OBSGEO-Y, and OBSGEO-Z keywords from your FITS cube, if present? (let me know if they are not present)