astropy / astroquery
1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2 1
"""
3
HITRAN Catalog Query Tool
4
-------------------------
5

6
:Author: Adam Ginsburg (adam.g.ginsburg@gmail.com)
7
"""
8 1
import os
9 1
from astropy import config as _config
10

11

12 1
class Conf(_config.ConfigNamespace):
13
    """
14
    Configuration parameters for `astroquery.hitran`.
15
    """
16 1
    query_url = _config.ConfigItem('http://hitran.org/lbl/api',
17
                                   'HITRAN web interface URL.')
18 1
    timeout = _config.ConfigItem(60,
19
                                 'Time limit for connecting to HITRAN server.')
20 1
    data_dir = os.path.join(os.path.dirname(__file__), 'data')
21 1
    formatfile = _config.ConfigItem(os.path.join(data_dir, 'readme.txt'),
22
                                    'Format file.')
23

24

25 1
conf = Conf()
26

27 1
from .core import Hitran, HitranClass
28

29 1
__all__ = ['Hitran', 'HitranClass', 'conf']

Read our documentation on viewing source code .

Loading