Skip to content

Commit 1bb0b71

Browse files
committed
roman experimentation
1 parent b43c5bb commit 1bb0b71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

astroquery/mast/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Conf(_config.ConfigNamespace):
1515
"""
1616

1717
server = _config.ConfigItem(
18-
'https://mast.stsci.edu',
18+
'https://masttest.stsci.edu',
1919
'Name of the MAST server.')
2020
ssoserver = _config.ConfigItem(
2121
'https://ssoportal.stsci.edu',

astroquery/mast/missions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def __init__(self, *, mission='hst', mast_token=None):
5454
self.dataset_kwds = { # column keywords corresponding to dataset ID
5555
'hst': 'sci_data_set_name',
5656
'jwst': 'fileSetName',
57+
'roman': 'fileSetName',
5758
'classy': 'Target',
5859
'ullyses': 'observation_id'
5960
}
@@ -536,7 +537,7 @@ def download_file(self, uri, *, local_path=None, cache=True, verbose=True):
536537
"""
537538

538539
# Construct the full data URL based on mission
539-
if self.mission in ['hst', 'jwst']:
540+
if self.mission in ['hst', 'jwst', 'roman']:
540541
# HST and JWST have a dedicated endpoint for retrieving products
541542
base_url = self._service_api_connection.MISSIONS_DOWNLOAD_URL + self.mission + '/api/v0.1/retrieve_product'
542543
keyword = 'product_name'

0 commit comments

Comments
 (0)