Skip to content

Commit 91f2b0b

Browse files
authored
Merge pull request #2660 from DinoBektesevic/most
IPAC/IRSA Moving Object Search Tool (MOST) interface
2 parents 227ded6 + c07e1b8 commit 91f2b0b

19 files changed

+12277
-6
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
New Tools and Services
55
----------------------
66

7+
ipac.irsa
8+
^^^^^^^^^
9+
10+
- New class to access the Moving Object Search Tool (MOST) added. [#2660]
11+
712
gaia
813
^^^^
914

astroquery/ipac/irsa/__init__.py

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

@@ -14,12 +15,19 @@ class Conf(_config.ConfigNamespace):
1415
Configuration parameters for `astroquery.ipac.irsa`.
1516
"""
1617

17-
server = _config.ConfigItem(
18+
irsa_server = _config.ConfigItem(
1819
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-query',
1920
'Name of the IRSA mirror to use.')
2021
gator_list_catalogs = _config.ConfigItem(
2122
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-scan',
2223
'URL from which to list all the public catalogs in IRSA.')
24+
most_server = _config.ConfigItem(
25+
'https://irsa.ipac.caltech.edu/cgi-bin/MOST/nph-most',
26+
'URL address of the MOST service.')
27+
most_interface_url = _config.ConfigItem(
28+
'https://irsa.ipac.caltech.edu/applications/MOST/',
29+
'URL address of the MOST application interface.'
30+
)
2331
row_limit = _config.ConfigItem(
2432
500,
2533
'Maximum number of rows to retrieve in result')
@@ -32,5 +40,6 @@ class Conf(_config.ConfigNamespace):
3240

3341

3442
from .core import Irsa, IrsaClass
43+
from .most import Most, MostClass
3544

36-
__all__ = ['Irsa', 'IrsaClass', 'Conf', 'conf', ]
45+
__all__ = ['Irsa', 'IrsaClass', 'Most', 'MostClass', 'Conf', 'conf', ]

astroquery/ipac/irsa/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118

119119
@async_to_sync
120120
class IrsaClass(BaseQuery):
121-
IRSA_URL = conf.server
121+
IRSA_URL = conf.irsa_server
122122
GATOR_LIST_URL = conf.gator_list_catalogs
123123
TIMEOUT = conf.timeout
124124
ROW_LIMIT = conf.row_limit

0 commit comments

Comments
 (0)