Open tibidabo opened 7 years ago
Could you be more specific? What does the website return that is different from astroquery?
Hi @keflavich it seems like it was wrongly formated into the table in python. So there are bits of the 'Line' column in the 'Rel.' column and a lot of other values beside the 'Spectrum', 'Observed' and 'Ritz' columns are missing.
Sorry about the delay. I see the problem. It's probably an issue with the NIST table parser. That parser was very tricky to write, as the NIST table formats are not designed to be machine-readable.
Something is strange about this table. The text format returned by NIST has extra column separators ("|
"'s) in most rows. I'm not sure there's a good way around this.
I've run into the problem of extra column separators in my own code for querying NIST ionization energies. There it was the ground shells column, which I think will correspond to the lower level configuration and upper level configuration columns for the atomic spectra lines database.
I got some trouble with using Nist.query as it returned some strange table, howle different to the one when using the website
I was using just the same code for 'Fe I', 'Fe II', 'Ar I', 'Ar II', 'W' and others in the past and it's fine. I am not sure what went wrong, whether it is my fault or of astroquery. It would be nice if you could help me out.