VOSCatalog¶
- class astroquery.vo_conesearch.vos_catalog.VOSCatalog(tree)[source]¶
Bases:
astroquery.vo_conesearch.vos_catalog.VOSBase
A class to represent VO Service Catalog.
- Parameters
- treeJSON tree
- Raises
- VOSError
Missing necessary key(s).
Methods Summary
create
(title, url, **kwargs)Create a new VO Service Catalog with user parameters.
delete_attribute
(key)Delete given metadata key and its value from the catalog.
Methods Documentation
- classmethod create(title, url, **kwargs)[source]¶
Create a new VO Service Catalog with user parameters.
- Parameters
- titlestr
Title of the catalog.
- urlstr
Access URL of the service. This is used to build queries.
- kwargsdict
Additional metadata as keyword-value pairs describing the catalog, except ‘title’ and ‘url’.
- Returns
- cat
VOSCatalog
VO Service Catalog.
- cat
- Raises
- TypeError
Multiple values given for keyword argument.