Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HITRAN NO+ is not working anymoreΒ #871

@minouHub

Description

@minouHub

πŸ› Describe the bug

from radis import calc_spectrum

s_NOp = calc_spectrum(
    wavenum_min=2380,
    wavenum_max=2400,
    mole_fraction={'NO+':1},
    isotope=1,
    Tgas=2000,
    pressure=1,
)

Does not produce an NO+ spectrum because the name NO is converted to NO_II. Probably a feature coded when we added the atomic databases.

πŸ’‘ Possible solutions

Prevent this conversion with molecules

🎲 Radis version

0.16.3

πŸ’» Operating system

Windows

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions