For the past few months I have been using a small notebook to query the Legacy Survey photometry catalogs. However, in the last ~week or so I get an indefinite hang anytime I try to use QueryClient to query the database. At the start of my notebook I always run a quick one-off query adapted directly from the tutorial notebooks to ensure that everything is working, i.e.,
ra0, dec0, radius = 178.9378935, 55.3207262, 0.01 # ra0,dec0,radius all in decimal degrees
query = f"""
SELECT release,type,ls_id,brickid,objid,ra,dec,snr_g,mag_g,flux_g, flux_r, flux_i, flux_z, flux_w1, flux_w2, flux_w3, flux_w4, flux_ivar_g, flux_ivar_r, flux_ivar_i, flux_ivar_z, flux_ivar_w1, flux_ivar_w2, flux_ivar_w3, flux_ivar_w4 FROM ls_dr10.tractor
WHERE mag_g < 15
AND q3c_radial_query(ra,dec,{ra0:f},{dec0:f},{radius:f})
"""
folllowed by,
response = qc.query(sql=query,format='csv')
df = convert(response,'pandas')
df
The last query block now hangs indefinitely, and has been for most of the last two or so weeks, with occasional normal behavior. To check things further, I've run the following simple one-liner to test QueryClient, again propagated directly from a tutorial notebook,
print(qc.schema())
The cell hangs indefinitely here too.
Is this indicative of the Astro Data Lab servers being down, or could it be a problem unique to my account?
Thanks for any help you can provide.