-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diluent #34
Comments
#33 as well as this answer #3 (comment) from the Hitran team may be helpful |
I am sorry but I can't fully agree with the developer's answer. Indeed, when using anything else than 'air' as a broadener the code will revert to default values for gamma silently Proof of that: try with 'fkjdsfkk' as a key in the Diluent dictionary and see that no warnings are issued. However, if you change the call to the ladder() function by adding 'flag_exception=True', you will see this Exception:
It happens with the H2O molecule, meaning that broadening of water by CO2 is not known, and I say why not? So we have two problems here: 1/ No warning is issued when a non existing diluent is used: this is VERY DANGEROUS! |
Hello,
I am a new user of HAPI, and I am having trouble understanding what the diluent parameter is.
I have read the HAPI manual and tried to research articles online, and I understand what this does to the line function broadening in relation to gamma. However, I still don't understand what this actually means in relation to species I am considering
For example, if I am working with O2 (all isotopes), how much O2 is there in relation to the broadening mixture?
In other words, what does it means to set diluent = {'self' : 1} or diluent = {'air' : 1} or diluent = {'O2': 1} in relation to the absorbing species?
Note that I get different results for each of these. Why is the difference between 'O2' and 'self'?
If I just have a reference cell filled with O2, do I need a broadening mixture?
and If you look at the manual, you can enter volume mixing ratio as gas mixture composition, so I wonder if the concentration is reflected in the result of the spectrum simulation.
The text was updated successfully, but these errors were encountered: