I'm trying to access metadata (FITS headers) for my DECam program (2021A-0113, proprietary waived). Since SIA is down (
https://datalab.noirlab.edu/help/index.php?qa=989&qa_1=sia-download-not-working-in-datalab-python-module) I was trying with the queryClient, using the examples in 01_JupyterPythonSQL101.ipynb.
I hoped to find my data in either the 'ivoa_nsa' or 'ivoa_raw', and used queries like the one pasted below (with spatial constraints for my field centers), but this does not return data later than 2020-03. Maybe that is as expected? E.g., it takes some time for data to get into the ivoa archive that this is querying? Maybe I'm using the wrong tool here.
query = """SELECT ra_j2000,dec_j2000,telescope,instrument,filter,exptime,propid,mjd_obs
FROM ivoa_nsa.exposure
WHERE instrument = 'DECam'
AND ra_j2000 BETWEEN 149.0 AND 151.0
AND dec_j2000 BETWEEN 1.5 AND 3.5
LIMIT 100000
""