astropy / astropy/astroquery

quotes in levels from LAMDA database

Open
#799 1 comment 0 reactions 0 assignees View on GitHub
lamda Upstream
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

The following query of HCN from the LAMDA database seems to include some extraneous double quotes.
```
>>> collrates,radtransitions,enlevels = Lamda.query(mol='hcn')
>>> enlevels['J'][0]
Out: '" 00 "'
```
This probably happens when the data is written as strings with leading and trailing spaces.
Is this something that should be reported to the LAMDA mantainers?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Lamda.query(mol='hcn') and inspecting enlevels['J'][0]. Trace how the LAMDA response is parsed to determine whether the quotes come from the source data or astroquery; done means the behavior is confirmed and either corrected in astroquery or clearly documented as an upstream LAMDA issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.