Skip to content

Commit 90a44d5

Browse files
committed
DOC: adding docs and changelog
1 parent 13d5c59 commit 90a44d5

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ gaia
2121

2222
- Update DR4 retrieval_type names and include the new one EPOCH_ASTROMETRY_BRIGHT [#3207]
2323

24+
ipac.irsa
25+
^^^^^^^^^
26+
27+
- Adding the "servicetype" kwarg to ``list_collections`` to be able to list SIA
28+
and SSA collections separately. [#3200]
29+
2430
ipac.nexsci.nasa_exoplanet_archive
2531
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2632

docs/ipac/irsa/irsa.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,15 @@ Enhanced Imaging products in the centre of the COSMOS field as an `~astropy.tabl
234234

235235
To list available collections for SIA queries, the
236236
`~astroquery.ipac.irsa.IrsaClass.list_collections` method is provided, and
237-
will return a `~astropy.table.Table`:
237+
will return a `~astropy.table.Table`. You can use the ``servicetype``
238+
argument to filter for image or spectral collections using ``'SIA'`` or
239+
``'SSA'`` respectively:
238240

239241
.. doctest-remote-data::
240242

241243
>>> from astroquery.ipac.irsa import Irsa
242-
>>> Irsa.list_collections()
243-
<Table length=124>
244+
>>> Irsa.list_collections(servicetype='SIA')
245+
<Table length=104>
244246
collection
245247
object
246248
---------------------

0 commit comments

Comments
 (0)