Skip to content

Commit

Permalink
WIP: nrao archive query - TAP only so far, based on ALMA
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
keflavich committed Jun 2, 2024
1 parent 25e6521 commit bcbe684
Show file tree
Hide file tree
Showing 3 changed files with 764 additions and 0 deletions.
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

0 comments on commit bcbe684

Please sign in to comment.