Skip to content

Commit aed3f93

Browse files
authored
Merge pull request #617 from keflavich/hitran
new tool: HITRAN database
2 parents 3bb2b54 + c421757 commit aed3f93

File tree

10 files changed

+732
-0
lines changed

10 files changed

+732
-0
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
0.3.4 (unreleased)
22
------------------
33

4+
- Added basic HITRAN queries support (#617)
45
- Fix #737, an issue with broken ALMA archive tables, via a hack (#775)
56
- Add license statements to appropriate places (#776)
67
- Correct HEASARC tool, which was sending incorrect data to the server (#774)

astroquery/hitran/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2+
"""
3+
HITRAN Catalog Query Tool
4+
-------------------------
5+
6+
:Author: Adam Ginsburg ([email protected])
7+
"""
8+
from .reader import download_hitran, read_hitran_file, cache_location

astroquery/hitran/data/readme.txt

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
HITRAN2004
2+
----------
3+
4+
The fields output for this profile are listed in order below with format strings, units and description the following information: :
5+
6+
molec_id
7+
--------
8+
C-style format specifier: %2d
9+
Fortran-style format specifier: I2
10+
Units: None
11+
Description: The HITRAN integer ID for this molecule in all its isotopologue forms
12+
13+
local_iso_id
14+
------------
15+
C-style format specifier: %1d
16+
Fortran-style format specifier: I1
17+
Units:
18+
Description: Integer ID of a particular Isotopologue, unique only to a given molecule, in order or abundance (1 = most abundant)
19+
20+
nu
21+
--
22+
C-style format specifier: %12.6f
23+
Fortran-style format specifier: F12.6
24+
Units: cm-1
25+
Description: Transition wavenumber
26+
27+
sw
28+
--
29+
C-style format specifier: %10.3e
30+
Fortran-style format specifier: E10.3
31+
Units: cm-1/(molec.cm-2)
32+
Description: Line intensity, multiplied by isotopologue abundance, at T = 296 K
33+
34+
a
35+
-
36+
C-style format specifier: %10.3e
37+
Fortran-style format specifier: E10.3
38+
Units: s-1
39+
Description: Einstein A-coefficient in s-1
40+
41+
gamma_air
42+
---------
43+
C-style format specifier: %5.4f
44+
Fortran-style format specifier: F5.4
45+
Units: cm-1.atm-1
46+
Description: Air-broadened Lorentzian half-width at half-maximum at p = 1 atm and T = 296 K
47+
48+
gamma_self
49+
----------
50+
C-style format specifier: %5.3f
51+
Fortran-style format specifier: F5.3
52+
Units: cm-1.atm-1
53+
Description: Self-broadened HWHM at 1 atm pressure and 296 K
54+
55+
elower
56+
------
57+
C-style format specifier: %10.4f
58+
Fortran-style format specifier: F10.4
59+
Units: cm-1
60+
Description: Lower-state energy
61+
62+
n_air
63+
-----
64+
C-style format specifier: %4.2f
65+
Fortran-style format specifier: F4.2
66+
Units:
67+
Description: Temperature exponent for the air-broadened HWHM
68+
69+
delta_air
70+
---------
71+
C-style format specifier: %8.6f
72+
Fortran-style format specifier: F8.6
73+
Units: cm-1.atm-1
74+
Description: Pressure shift induced by air, referred to p=1 atm
75+
76+
global_upper_quanta
77+
-------------------
78+
C-style format specifier: %15s
79+
Fortran-style format specifier: A15
80+
Units: None
81+
Description: Electronic and vibrational quantum numbers and labels for the upper state of a transition
82+
83+
global_lower_quanta
84+
-------------------
85+
C-style format specifier: %15s
86+
Fortran-style format specifier: A15
87+
Units: None
88+
Description: Electronic and vibrational quantum numbers and labels for the lower state of a transition
89+
90+
local_upper_quanta
91+
------------------
92+
C-style format specifier: %15s
93+
Fortran-style format specifier: A15
94+
Units: None
95+
Description: Rotational, hyperfine and other quantum numbers and labels for the upper state of a transition
96+
97+
local_lower_quanta
98+
------------------
99+
C-style format specifier: %15s
100+
Fortran-style format specifier: A15
101+
Units: None
102+
Description: Rotational, hyperfine and other quantum numbers and labels for the lower state of a transition
103+
104+
ierr1
105+
-----
106+
C-style format specifier: %1d
107+
Fortran-style format specifier: I1
108+
Units:
109+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
110+
111+
ierr2
112+
-----
113+
C-style format specifier: %1d
114+
Fortran-style format specifier: I1
115+
Units:
116+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
117+
118+
ierr3
119+
-----
120+
C-style format specifier: %1d
121+
Fortran-style format specifier: I1
122+
Units:
123+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
124+
125+
ierr4
126+
-----
127+
C-style format specifier: %1d
128+
Fortran-style format specifier: I1
129+
Units:
130+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
131+
132+
ierr5
133+
-----
134+
C-style format specifier: %1d
135+
Fortran-style format specifier: I1
136+
Units:
137+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
138+
139+
ierr6
140+
-----
141+
C-style format specifier: %1d
142+
Fortran-style format specifier: I1
143+
Units:
144+
Description: Ordered list of indices corresponding to uncertainty estimates of transition parameters
145+
146+
iref1
147+
-----
148+
C-style format specifier: %2d
149+
Fortran-style format specifier: I2
150+
Units: None
151+
Description: Ordered list of reference identifiers for transition parameters
152+
153+
iref2
154+
-----
155+
C-style format specifier: %2d
156+
Fortran-style format specifier: I2
157+
Units: None
158+
Description: Ordered list of reference identifiers for transition parameters
159+
160+
iref3
161+
-----
162+
C-style format specifier: %2d
163+
Fortran-style format specifier: I2
164+
Units: None
165+
Description: Ordered list of reference identifiers for transition parameters
166+
167+
iref4
168+
-----
169+
C-style format specifier: %2d
170+
Fortran-style format specifier: I2
171+
Units: None
172+
Description: Ordered list of reference identifiers for transition parameters
173+
174+
iref5
175+
-----
176+
C-style format specifier: %2d
177+
Fortran-style format specifier: I2
178+
Units: None
179+
Description: Ordered list of reference identifiers for transition parameters
180+
181+
iref6
182+
-----
183+
C-style format specifier: %2d
184+
Fortran-style format specifier: I2
185+
Units: None
186+
Description: Ordered list of reference identifiers for transition parameters
187+
188+
line_mixing_flag
189+
----------------
190+
C-style format specifier: %1s
191+
Fortran-style format specifier: A1
192+
Units:
193+
Description: A flag indicating the presence of additional data and code relating to line-mixing
194+
195+
gp
196+
--
197+
C-style format specifier: %7.1f
198+
Fortran-style format specifier: F7.1
199+
Units: None
200+
Description: Upper state degeneracy
201+
202+
gpp
203+
---
204+
C-style format specifier: %7.1f
205+
Fortran-style format specifier: F7.1
206+
Units: None
207+
Description: Lower state degeneracy
208+

0 commit comments

Comments
 (0)