Bases: astropy.vo.client.vos_catalog.VOSCatalog
A class to represent a collection of VOSCatalog.
Parameters : | tree : JSON tree |
---|---|
Raises : | VOSError :
|
Methods Summary
get_catalog(name) | Get one catalog of given name. |
get_catalog_by_url(url) | Like get_catalog() but using access URL look-up. |
get_catalogs() | Iterator to get all catalogs. |
get_catalogs_by_url(url) | Like get_catalogs() but using access URL look-up. |
list_catalogs([pattern, sort]) | List catalog names. |
Methods Documentation
Get one catalog of given name.
Parameters : | name : str
|
---|---|
Returns : | obj : VOSCatalog object |
Raises : | VOSError :
|
Like get_catalog() but using access URL look-up. On multiple matches, only first match is returned.
Iterator to get all catalogs.
Like get_catalogs() but using access URL look-up.
List catalog names.
Parameters : | pattern : str or None
sort : bool
|
---|---|
Returns : | out_arr : list of str
|