Skip to content

Commit 8923fc9

Browse files
committed
Changes, style, test fixes
1 parent 20007fe commit 8923fc9

File tree

3 files changed

+74
-12
lines changed

3 files changed

+74
-12
lines changed

CHANGES.rst

Lines changed: 70 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,81 @@ simbad
3535
Service fixes and enhancements
3636
------------------------------
3737

38-
gaia
38+
linelists.cdms
39+
^^^^^^^^^^^^^^
40+
41+
- Add whole catalog retrieval, improve error messaging for unparseable lines,
42+
improve metadata catalog, and improve lookuptable behavior [#3173,#2901]
43+
44+
heasarc
45+
^^^^^^^
46+
47+
- Fix Heasarc.download_data for Sciserver. [#3183]
48+
49+
jplspec
50+
^^^^^^^
51+
52+
- minor improvement to lookuptable behavior [#3173,#2901]
53+
54+
mast
3955
^^^^
4056

41-
- Update DR4 retrieval_type names and include the new one EPOCH_ASTROMETRY_BRIGHT [#3207, #3238]
57+
- Retrieve data products from the Missions-MAST API with ``mast.MastMissions.get_product_list``. Retrieve unique data
58+
products only with ``mast.MastMissions.get_unique_product_list``. [#3155]
4259

43-
ipac.irsa
60+
- Filter data products retrieved from the Missions-MAST API with ``mast.MastMissions.filter_products``. [#3155]
61+
62+
- Download data products from the Missions-MAST API with ``mast.MastMissions.download_products``.
63+
Download a single data product using ``mast.MastMissions.download_file``. [#3155]
64+
65+
- Get the keyword corresponding to the dataset ID for a specific mission with ``mast.MastMissions.get_dataset_kwd``. [#3155]
66+
67+
- Handle coordinates that are not in the ICRS frame in query functions. [#3164]
68+
69+
mocserver
4470
^^^^^^^^^
4571

46-
- Method to run Simple Spectral Access (SSA) VO queries, ``query_ssa``, is added. [#3076]
72+
- Switch to https instead of http for the default url (allows pyodide to use the
73+
module) [#3139]
74+
75+
- Add ``TimeMOC`` and ``STMOC`` as possible entries in ``MOCServer.query_region`` to
76+
allow temporal and space-time searches [#3139]
4777

48-
- Adding the "servicetype" kwarg to ``list_collections`` to be able to list SIA
49-
and SSA collections separately. [#3200]
78+
- ``return_moc`` now allows to ask for a Time-MOC or a Space-Time MOC rather than only
79+
Space-MOCs [#3139]
5080

51-
- Adding support for asynchronous queries using the new ``async_job``
52-
keyword. [#3201]
81+
- Fix query by MOC that would write a file ``moc.fits`` where the method was executed in
82+
overwriting mode (potentially deleting data if there was a conflicting file) [#3139]
83+
84+
- [:warning: BREAKING] Returned tables now have a default list of fields instead of the
85+
> 130 columns returned previously. The full list of fields can be displayed with the
86+
new method ``MOCServer.list_fields`` [#3139]
87+
88+
- Add ``casesensitive`` parameter in the queries (previously, this was hardcoded
89+
to ``True``) [#3139]
90+
91+
- Add ``coordinate_system`` parameter to the queries to allow to filter on the different
92+
bodies or frames. The list of available space systems can be printed with the new
93+
method ``MOCServer.list_coordinates_systems`` [#3139]
94+
95+
- Add ``query_hips`` method, which is convenient to filter only Hierarchical progressive
96+
surveys [#3139]
97+
98+
- New parameter ``criteria`` in ``query_region`` and ``query_hips`` that has the same
99+
use than ``meta_data`` in the deprecated method ``find_datasets`` [#3139]
100+
101+
simbad
102+
^^^^^^
103+
104+
- Fixed adding a list of fluxes with the deprecated notation
105+
``Simbad.add_votable_fields("flux(U)", "flux(J)")`` [#3186]
106+
107+
- Support more of the 0.4.7 votable fields. Raise more significant error messages
108+
for the discontinued ones. [#3186]
109+
110+
- Fix the deprecated votable fields ``otype(V)`` and ``otype(S)`` [#3186]
111+
112+
- Fixed non existing flux filters as votable fields would fail silently [#3186]
53113

54114
- Making ``'spatial'`` keyword in ``query_region`` case insensitive. [#3224]
55115

@@ -91,6 +151,8 @@ Infrastructure, Utility and Other Changes and Additions
91151
- Removed usage of the astropy TestRunner, therefore the unadvertised
92152
``astroquery.test()`` functionality. [#3215]
93153

154+
- ``return_frame`` parameter in ``utils.commons.parse_coordinates`` returns coordinates in the specified frame. [#3164]
155+
94156

95157
0.4.9 (2025-01-24)
96158
==================

astroquery/mast/missions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from requests import HTTPError, RequestException
2020

2121
from astroquery import log
22-
from astroquery.utils import commons, async_to_sync
22+
from astroquery.utils import async_to_sync
2323
from astroquery.utils.class_or_instance import class_or_instance
2424
from astroquery.exceptions import InvalidQueryError, MaxResultsWarning, InputWarning, NoResultsWarning
2525

astroquery/mast/tests/test_mast_remote.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ def test_tesscut_get_sectors_mt(self):
12921292
assert sector_table['ccd'][0] == 1
12931293

12941294
error_noname = ("Please specify the object name or ID (as understood by the "
1295-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) "
1295+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) "
12961296
"of a moving target such as an asteroid or comet.")
12971297
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
12981298
error_mt_coord = "Only one of moving_target and coordinates may be specified."
@@ -1375,7 +1375,7 @@ def test_tesscut_download_cutouts_mt(self, tmpdir):
13751375
assert os.path.isfile(row['Local Path'])
13761376

13771377
error_noname = ("Please specify the object name or ID (as understood by the "
1378-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) of "
1378+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) of "
13791379
"a moving target such as an asteroid or comet.")
13801380
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
13811381
error_mt_coord = "Only one of moving_target and coordinates may be specified."
@@ -1456,7 +1456,7 @@ def test_tesscut_get_cutouts_mt(self):
14561456
assert isinstance(cutout_hdus_list[0], fits.HDUList)
14571457

14581458
error_noname = ("Please specify the object name or ID (as understood by the "
1459-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) of "
1459+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) of "
14601460
"a moving target such as an asteroid or comet.")
14611461
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
14621462
error_mt_coord = "Only one of moving_target and coordinates may be specified."

0 commit comments

Comments
 (0)