Skip to content

ENH: add filter for list_catalogs #3254

@bsipocz

Description

@bsipocz

Very often one ends up doing a list comprehension to similar to filter out a particular mission from the list of catalogs. Would be nice to have this as a built in functionality.

E.g.:

>>> from astroquery.ipac.irsa import Irsa
>>> Irsa.list_catalogs(filter_name='higal')
{'higal70': 'Hi-GAL 70 micron Photometric Catalog',
 'higal160': 'Hi-GAL 160 micron Photometric Catalog',
 'higal250': 'Hi-GAL 250 micron Photometric Catalog',
 'higal350': 'Hi-GAL 350 micron Photometric Catalog',
 'higal500': 'Hi-GAL 500 micron Photometric Catalog',
 'higal360clump': 'Hi-GAL 360 degree Catalogue of Clump Physical Properties'}

As opposed to deal with a 900+ long list of catalogs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions