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

6
:Author: Adam Ginsburg (adam.g.ginsburg@gmail.com)
7

8
:Originally contributed by:
9

10
     Magnus Vilhelm Persson (magnusp@vilhelm.nu)
11
"""
12 1
from astropy import config as _config
13

14

15 1
class Conf(_config.ConfigNamespace):
16
    """
17
    Configuration parameters for `astroquery.splatalogue`.
18
    """
19 1
    slap_url = _config.ConfigItem(
20
        'https://find.nrao.edu/splata-slap/slap',
21
        'Splatalogue SLAP interface URL (not used).')
22 1
    base_url = 'https://splatalogue.online'
23 1
    query_url = _config.ConfigItem(
24
        f'{base_url}/c_export.php',
25
        # defunct as of Sep 4, 2020?  (keeping because this is likely the true host)
26
        # 'https://www.cv.nrao.edu/php/splat/c_export.php',
27
        'Splatalogue web interface URL.')
28 1
    timeout = _config.ConfigItem(
29
        60,
30
        'Time limit for connecting to Splatalogue server.')
31 1
    lines_limit = _config.ConfigItem(
32
        1000,
33
        'Limit to number of lines exported.')
34

35

36 1
conf = Conf()
37

38 1
from . import load_species_table
39 1
from . import utils
40 1
from .core import Splatalogue, SplatalogueClass
41

42 1
__all__ = ['Splatalogue', 'SplatalogueClass',
43
           'Conf', 'conf',
44
           ]

Read our documentation on viewing source code .

Loading