Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions astroquery/nrao/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
NRAO Archive service.
"""
from astropy import config as _config


# list the URLs here separately so they can be used in tests.
_url_list = ['https://data.nrao.edu'
]

tap_urls = ['https://data-query.nrao.edu/']

auth_urls = ['data.nrao.edu']


class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `astroquery.nrao`.
"""

timeout = _config.ConfigItem(60, "Timeout in seconds.")

archive_url = _config.ConfigItem(
_url_list,
'The NRAO Archive mirror to use.')

auth_url = _config.ConfigItem(
auth_urls,
'NRAO Central Authentication Service URLs'
)

username = _config.ConfigItem(
"",
'Optional default username for NRAO archive.')


conf = Conf()

from .core import Nrao, NraoClass, NRAO_BANDS

__all__ = ['Nrao', 'NraoClass',
'Conf', 'conf',
]
Loading