Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: NRAO Archive Query replacement #3015

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
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
Loading