@@ -154,7 +154,7 @@ def keywords(self):
154154 self ._keywords = None
155155
156156 def find_catalogs (self , keywords , include_obsolete = False , verbose = False ,
157- max_catalogs = None , return_type = 'votable' ):
157+ ucd = '' , max_catalogs = None , return_type = 'votable' ):
158158 """
159159 Search Vizier for catalogs based on a set of keywords, e.g. author name
160160
@@ -165,6 +165,12 @@ def find_catalogs(self, keywords, include_obsolete=False, verbose=False,
165165 From `Vizier <http://vizier.u-strasbg.fr/doc/asu-summary.htx>`_:
166166 "names or words of title of catalog. The words are and'ed, i.e.
167167 only the catalogues characterized by all the words are selected."
168+ ucd : string
169+ "Unified Content Description" column descriptions. Specifying
170+ these will select only catalogs that have columns matching the
171+ column descriptions defined on the Vizier web pages.
172+ See http://vizier.u-strasbg.fr/vizier/vizHelp/1.htx#ucd and
173+ http://cds.u-strasbg.fr/w/doc/UCD/
168174 include_obsolete : bool, optional
169175 If set to True, catalogs marked obsolete will also be returned.
170176 max_catalogs : int or None
@@ -194,6 +200,10 @@ def find_catalogs(self, keywords, include_obsolete=False, verbose=False,
194200 keywords = " " .join (keywords )
195201
196202 data_payload = {'-words' : keywords , '-meta.all' : 1 }
203+
204+ ucd_ = self ._schema_ucd .validate (ucd )
205+ data_payload ['-ucd' ] = ucd_
206+
197207 if max_catalogs is not None :
198208 data_payload ['-meta.max' ] = max_catalogs
199209 response = self ._request (
0 commit comments