1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2 1
"""
3
VizieR Query Tool
4
-----------------
5

6
This package is for querying the VizieR service, primarily hosted at:
7
http://vizier.u-strasbg.fr
8

9
Note: If the access to catalogues with VizieR was helpful for your research
10
work, the following acknowledgment would be appreciated::
11

12
  This research has made use of the VizieR catalogue access tool, CDS,
13
  Strasbourg, France.  The original description of the VizieR service was
14
  published in A&AS 143, 23
15
"""
16 1
from astropy import config as _config
17

18

19 1
class Conf(_config.ConfigNamespace):
20
    """
21
    Configuration parameters for `astroquery.vizier`.
22
    """
23

24 1
    server = _config.ConfigItem(
25
        ['vizier.u-strasbg.fr',
26
         'vizier.cfa.harvard.edu',
27
         'vizier.nao.ac.jp',
28
         'vizier.hia.nrc.ca',
29
         'vizier.ast.cam.ac.uk',
30
         'vizier.iucaa.ernet.in',
31
         'vizier.china-vo.org',
32
         ],
33
        'Name of the VizieR mirror to use.')
34

35 1
    timeout = _config.ConfigItem(
36
        60,
37
        'Default timeout for connecting to server',
38
        aliases=['astropy.coordinates.name_resolve.name_resolve_timeout'])
39

40 1
    row_limit = _config.ConfigItem(
41
        50,
42
        'Maximum number of rows that will be fetched from the result '
43
        '(set to -1 for unlimited).')
44

45

46 1
conf = Conf()
47

48 1
from .core import Vizier, VizierClass
49

50 1
__all__ = ['Vizier', 'VizierClass',
51
           'Conf', 'conf',
52
           ]

Read our documentation on viewing source code .

Loading