Skip to content

Commit 3b2110f

Browse files
authored
Merge pull request #2823 from bsipocz/irsa_tap
ENH: ipac.irsa backend refactoring to use TAP rather than Gator
2 parents cd14598 + 1750798 commit 3b2110f

File tree

6 files changed

+299
-677
lines changed

6 files changed

+299
-677
lines changed

CHANGES.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ ipac.irsa
99

1010
- New class to access the Moving Object Search Tool (MOST) added. [#2660]
1111

12+
- The IRSA module's backend has been refactored to favour VO services and to
13+
run the queries through TAP rather than Gator.
14+
New method ``query_tap`` is added to enable ADQL queries, async-named
15+
methods have been removed. The ``selcols`` kwarg has been renamed to
16+
``columns``, and the ``cache`` and ``verbose`` kwargs have been
17+
deprecated as they have no effect. [#2823]
18+
1219
gaia
1320
^^^^
1421

astroquery/ipac/irsa/__init__.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
===============
55
66
This module contains various methods for querying the
7-
IRSA Catalog Query Service(CatQuery) and the Moving
8-
Object Search Tool (MOST).
7+
IRSA Services.
8+
99
"""
1010
from astropy import config as _config
1111

@@ -14,13 +14,6 @@ class Conf(_config.ConfigNamespace):
1414
"""
1515
Configuration parameters for `astroquery.ipac.irsa`.
1616
"""
17-
18-
irsa_server = _config.ConfigItem(
19-
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-query',
20-
'Name of the IRSA mirror to use.')
21-
gator_list_catalogs = _config.ConfigItem(
22-
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-scan',
23-
'URL from which to list all the public catalogs in IRSA.')
2417
most_server = _config.ConfigItem(
2518
'https://irsa.ipac.caltech.edu/cgi-bin/MOST/nph-most',
2619
'URL address of the MOST service.')
@@ -34,6 +27,7 @@ class Conf(_config.ConfigNamespace):
3427
timeout = _config.ConfigItem(
3528
60,
3629
'Time limit for connecting to the IRSA server.')
30+
tap_url = _config.ConfigItem('https://irsa.ipac.caltech.edu/TAP', 'IRSA TAP URL')
3731

3832

3933
conf = Conf()

0 commit comments

Comments
 (0)