gen_tap_box_query

grizli.catalog.gen_tap_box_query(ra=165.86, dec=34.829694, radius=3.0, corners=None, max=100000, db='ls_dr7.tractor_primary', columns=['*'], rd_colnames=['ra', 'dec'], wcs_pad=0.5)[source]

Generate a query string for the NOAO Legacy Survey TAP server

Parameters:
ra, dec : float

RA, Dec in decimal degrees

radius : float

Search radius, in arc-minutes.

corners : 4-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

Returns:
query : str

Query string