Skip to content

Commit bcbe684

Browse files
committed
WIP: nrao archive query - TAP only so far, based on ALMA
(additional commit message was just debug notes and should be ignored) add back tapsql stuff remove alma stuff from nrao add nrao obscore thing Adapt region queries to work with NRAO TAP service add tapsql.py for nrao, updates to data columns supported by NRAO TAP fix imports implemented data retrieval code flush add VLA handling fix the wait-until-done step flex fixes
1 parent 25e6521 commit bcbe684

File tree

3 files changed

+764
-0
lines changed

3 files changed

+764
-0
lines changed

astroquery/nrao/__init__.py

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2+
"""
3+
NRAO Archive service.
4+
"""
5+
from astropy import config as _config
6+
7+
8+
# list the URLs here separately so they can be used in tests.
9+
_url_list = ['https://data.nrao.edu'
10+
]
11+
12+
tap_urls = ['https://data-query.nrao.edu/']
13+
14+
auth_urls = ['data.nrao.edu']
15+
16+
17+
class Conf(_config.ConfigNamespace):
18+
"""
19+
Configuration parameters for `astroquery.nrao`.
20+
"""
21+
22+
timeout = _config.ConfigItem(60, "Timeout in seconds.")
23+
24+
archive_url = _config.ConfigItem(
25+
_url_list,
26+
'The NRAO Archive mirror to use.')
27+
28+
auth_url = _config.ConfigItem(
29+
auth_urls,
30+
'NRAO Central Authentication Service URLs'
31+
)
32+
33+
username = _config.ConfigItem(
34+
"",
35+
'Optional default username for NRAO archive.')
36+
37+
38+
conf = Conf()
39+
40+
from .core import Nrao, NraoClass, NRAO_BANDS
41+
42+
__all__ = ['Nrao', 'NraoClass',
43+
'Conf', 'conf',
44+
]

0 commit comments

Comments
 (0)