-
Notifications
You must be signed in to change notification settings - Fork 115
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
cond unit and Hitran cross-sections #630
base: develop
Are you sure you want to change the base?
Conversation
to retrieve Spectrum condition in arbitrary unit also ensure S.I units are used when converting xsection to abscoeff and vice versa
(x1000 when converting old-format spectra)
@EkulRF have a look and confirm this is what you need; then we'll merge |
Thanks @erwanp I get the following error when I have the relevant xsc files saved to a local directory:
The file is correctly pathed, etc. Am I missing something or have I stored the .xsc file incorrectly? |
@erwanp any update on this one? |
Parse dimensioned values (i.e. with units) in Spectrum conditions
Parse and generate Spectrum from manually downloaded HITRAN cross section files (https://hitran.org/xsc/)
Add tests
Add Gallery example
Note : this PR might raise errors when units are not defined in user-scripts; in particular
path_length
andpressure
.Spectrum.cond_units
should be used to define them.Fix #628
Note @HajimeKawahara the cross-section parsing is added directly in the API (hitranapi)