pcubillos / pyratbay

Python Radiative Transfer in a Bayesian Framework
https://pyratbay.rtfd.io/
GNU General Public License v2.0
9 stars 1 forks source link

Exomol line reader fails for VTT's HDO database #165

Closed pcubillos closed 3 years ago

pcubillos commented 5 years ago

The code cannot recognize an isotope as it is written by the exomol database as HHO instead of H2O while making the tli file for this isotope: http://www.exomol.com/data/molecules/H2O/1H-2H-16O/VTT/

This is fixed by adding these lines in pyratbay/lineread/db/driver.py: at line 283: if molname == 'HHO': molname='H2O'

TBD: Find a nice and clean solution

pcubillos commented 3 years ago

This was solved in 60ea70f with the implementation of tools.get_exomol_mol()