Skip to content

Commit 62459f3

Browse files
committed
Changes, style, test fixes
1 parent cc370d7 commit 62459f3

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
@@ -31,21 +31,81 @@ simbad
3131
Service fixes and enhancements
3232
------------------------------
3333

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

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

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

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

44-
- Adding the "servicetype" kwarg to ``list_collections`` to be able to list SIA
45-
and SSA collections separately. [#3200]
74+
- ``return_moc`` now allows to ask for a Time-MOC or a Space-Time MOC rather than only
75+
Space-MOCs [#3139]
4676

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

50110
- Making ``'spatial'`` keyword in ``query_region`` case insensitive. [#3224]
51111

@@ -85,6 +145,8 @@ Infrastructure, Utility and Other Changes and Additions
85145
- Removed usage of the astropy TestRunner, therefore the unadvertised
86146
``astroquery.test()`` functionality. [#3215]
87147

148+
- ``return_frame`` parameter in ``utils.commons.parse_coordinates`` returns coordinates in the specified frame. [#3164]
149+
88150

89151
0.4.9 (2025-01-24)
90152
==================

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)