ConeSearchResults

class astroquery.vo_conesearch.validator.inspect.ConeSearchResults(cache=False, verbose=True)[source]

Bases: object

A class to store Cone Search validation results.

Parameters
cachebool

Read from cache, if available. Default is False to ensure the latest data are read.

verbosebool

Show download progress bars.

Attributes
dbtypeslist

Cone Search database identifiers.

dbsdict

Stores VOSDatabase for each dbtypes.

catkeysdict

Stores sorted catalog keys for each dbtypes.

Methods Summary

list_cats(typ[, fout, ignore_noncrit])

List catalogs in given database.

print_cat(key[, fout])

Display a single catalog of given key.

tally([fout])

Tally databases.

Methods Documentation

list_cats(typ, fout=None, ignore_noncrit=False)[source]

List catalogs in given database.

Listing contains:

  1. Catalog key

  2. Cone search access URL

  3. Warning codes

  4. Warning descriptions

Parameters
typstr

Any value in self.dbtypes.

foutoutput stream

Default is screen output.

ignore_noncritbool

Exclude warnings in astroquery.vo_conesearch.validator.conf.noncritical_warnings. This is useful to see why a catalog failed validation.

print_cat(key, fout=None)[source]

Display a single catalog of given key.

If not found, nothing is written out.

Parameters
keystr

Catalog key.

foutoutput stream

Default is screen output.

tally(fout=None)[source]

Tally databases.

Parameters
foutoutput stream

Default is screen output.