Skip to content

Commit 3fcac9b

Browse files
committed
Changes, style, test fixes
Fix changelog
1 parent 20007fe commit 3fcac9b

File tree

3 files changed

+62
-13
lines changed

3 files changed

+62
-13
lines changed

CHANGES.rst

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

38-
gaia
39-
^^^^
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]
4043

41-
- Update DR4 retrieval_type names and include the new one EPOCH_ASTROMETRY_BRIGHT [#3207, #3238]
44+
heasarc
45+
^^^^^^^
4246

43-
ipac.irsa
47+
- Fix Heasarc.download_data for Sciserver. [#3183]
48+
49+
jplspec
50+
^^^^^^^
51+
52+
- minor improvement to lookuptable behavior [#3173,#2901]
53+
54+
mocserver
4455
^^^^^^^^^
4556

46-
- Method to run Simple Spectral Access (SSA) VO queries, ``query_ssa``, is added. [#3076]
57+
- Switch to https instead of http for the default url (allows pyodide to use the
58+
module) [#3139]
59+
60+
- Add ``TimeMOC`` and ``STMOC`` as possible entries in ``MOCServer.query_region`` to
61+
allow temporal and space-time searches [#3139]
62+
63+
- ``return_moc`` now allows to ask for a Time-MOC or a Space-Time MOC rather than only
64+
Space-MOCs [#3139]
4765

48-
- Adding the "servicetype" kwarg to ``list_collections`` to be able to list SIA
49-
and SSA collections separately. [#3200]
66+
- Fix query by MOC that would write a file ``moc.fits`` where the method was executed in
67+
overwriting mode (potentially deleting data if there was a conflicting file) [#3139]
5068

51-
- Adding support for asynchronous queries using the new ``async_job``
52-
keyword. [#3201]
69+
- [:warning: BREAKING] Returned tables now have a default list of fields instead of the
70+
> 130 columns returned previously. The full list of fields can be displayed with the
71+
new method ``MOCServer.list_fields`` [#3139]
72+
73+
- Add ``casesensitive`` parameter in the queries (previously, this was hardcoded
74+
to ``True``) [#3139]
75+
76+
- Add ``coordinate_system`` parameter to the queries to allow to filter on the different
77+
bodies or frames. The list of available space systems can be printed with the new
78+
method ``MOCServer.list_coordinates_systems`` [#3139]
79+
80+
- Add ``query_hips`` method, which is convenient to filter only Hierarchical progressive
81+
surveys [#3139]
82+
83+
- New parameter ``criteria`` in ``query_region`` and ``query_hips`` that has the same
84+
use than ``meta_data`` in the deprecated method ``find_datasets`` [#3139]
85+
86+
simbad
87+
^^^^^^
88+
89+
- Fixed adding a list of fluxes with the deprecated notation
90+
``Simbad.add_votable_fields("flux(U)", "flux(J)")`` [#3186]
91+
92+
- Support more of the 0.4.7 votable fields. Raise more significant error messages
93+
for the discontinued ones. [#3186]
94+
95+
- Fix the deprecated votable fields ``otype(V)`` and ``otype(S)`` [#3186]
96+
97+
- Fixed non existing flux filters as votable fields would fail silently [#3186]
5398

5499
- Making ``'spatial'`` keyword in ``query_region`` case insensitive. [#3224]
55100

@@ -65,6 +110,8 @@ mast
65110

66111
- Bugfix where ``Observations.get_cloud_uri`` and ``Observations.get_cloud_uris`` fail if the MAST relative path is not found. [#3193]
67112

113+
- Handle coordinates that are not in the ICRS frame in query functions. [#3164]
114+
68115
simbad
69116
^^^^^^
70117

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

141+
- ``return_frame`` parameter in ``utils.commons.parse_coordinates`` returns coordinates in the specified frame. [#3164]
142+
94143

95144
0.4.9 (2025-01-24)
96145
==================

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)