spacetelescope/specviz

specviz file loader

stscijgbot opened this issue · 3 comments

Issue JDA-33 was created by Camilla Pacifici:

  • Data used for testing

A 1D spectrum in ascii format with a column for wavelength and one for the flux.

  • Data location (if possible)

Attached here.

  • Methods used for testing (e.g., commands or functionalities that were tested)

Open specviz from terminal and use both "load data" and "loader wizard".

  • Traceback for error if applicable

See screenshots attached.

  • Description of the problem

I tried to load a 1D spectrum in ascii format with the first line as header (both with and without # to comment the line). Specviz returns the message "Could not identify columns containing the wavelength, frequency or energy.". I tried the wizard and I cannot choose the columns. When I close the wizard, it crashes with "Abort trap: 6".

Comment by Ben Sunnquist: I also failed to load an ascii table. I was at least able to preview it correctly in the Loader Wizard, but when I tried to "save to .py" it closed with the exact same error message.

Comment by Alicia Canipe: GitHub issue manually created until linking is set up: [https://github.com//issues/672]

My bad, closing this, sorry.