query_tap_catalog

grizli.catalog.query_tap_catalog(ra=165.86, dec=34.829694, radius=3.0, corners=None, max_wait=20, db='ls_dr9.tractor', columns=['*'], extra='', rd_colnames=['ra', 'dec'], tap_url='https://datalab.noirlab.edu/tap', max=1000000, clean_xml=True, verbose=True, des=False, gaia=False, nsc=False, vizier=False, skymapper=False, hubble_source_catalog=False, tap_kwargs={}, **kwargs)[source]

Query NOAO Catalog holdings

Parameters
ra, decfloat

Center of the query region, decimal degrees

radiusfloat

Radius of the query, in arcmin

corners4-tuple, WCS or None

ra_min, ra_max, dec_min, dec_max of a query box to use instead of radius. Or if a WCS object, get limits from the calc_footprint method

dbstr

Parent database (https://datalab.noirlab.edu/query.php).

columnslist of str

List of columns to output. Default [‘*’] returns all columns.

extrastr

String to add to the end of the positional box query, e.g., ‘AND mag_auto_i > 16 AND mag_auto_i < 16.5’.

rd_colnamesstr, str

Column names in db corresponding to ra/dec (degrees).

tap_urlstr

TAP hostname

desbool

Query des_dr1.main from NOAO.

gaiabool

Query gaiadr2.gaia_source from http://gea.esac.esa.int.

nscbool

Query the NOAO Source Catalog (Nidever et al. 2018), nsc_dr1.object.

vizierbool

Use the VizieR TAP server at http://tapvizier.u-strasbg.fr/TAPVizieR/tap, see http://tapvizier.u-strasbg.fr/adql/about.html.

hubble_source_catalogbool

Query the Hubble Source Catalog (v3). If no ‘NumImages’ criteria is found in extra, then add an additional requirement:

>>> extra += 'AND NumImages > 1'
Returns
tableTable

Result of the query