Skip to content

Commit f55b116

Browse files
committed
DOC: adding docs for list_collections
1 parent 479cff6 commit f55b116

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/ipac/irsa/irsa.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,31 @@ Enhanced Imaging products in the centre of the COSMOS field as an `~astropy.tabl
236236
>>> coord = SkyCoord('150.01d 2.2d', frame='icrs')
237237
>>> spitzer_images = Irsa.query_sia(pos=(coord, 1 * u.arcmin), collection='spitzer_seip').to_table()
238238

239+
To list available collections for SIA queries, the
240+
`~astroquery.ipac.irsa.IrsaClass.list_collections` method is provided, and
241+
will return a `~astropy.table.Table`:
242+
243+
.. doctest-remote-data::
244+
245+
>>> from astroquery.ipac.irsa import Irsa
246+
>>> Irsa.list_collections()
247+
<Table length=110>
248+
collection
249+
object
250+
---------------------
251+
akari_allskymaps
252+
blast
253+
bolocam_gps
254+
bolocam_lh
255+
bolocam_planck_sz
256+
...
257+
wise_allsky
258+
wise_allwise
259+
wise_prelim
260+
wise_prelim_2bandcryo
261+
wise_unwise
262+
wise_z0mgs
263+
239264
Now open a cutout image for one of the science images. You could either use
240265
the the IRSA on-premise data or the cloud version of it using the
241266
``access_url`` or ``cloud_access`` columns. For more info about fits

0 commit comments

Comments
 (0)