Hi everyone,
looking forward to DP1 I have been playing with the RSP and I am hitting a snag.
I’ve verified that the DP03_06 notebook runs as expected however, I have uploaded my own table of RA and Dec
changed the query to just:
query = """
SELECT dias.ra, dias.dec, dias.ssObjectId,
ut1.ra AS ut1_ra, ut1.dec AS ut1_dec
FROM dp03_catalogs_10yr.DiaSource AS dias, TAP_UPLOAD.ut1 AS ut1
WHERE CONTAINS(POINT('ICRS', dias.ra, dias.dec),
CIRCLE('ICRS', ut1.ra, ut1.dec, 0.00278))=1
ORDER BY dias.ssObjectId
"""
and when running the job, I hit this error:
job = rsp_tap.submit_job(query, uploads={“ut1”: ut1})
job.run()
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
File /opt/lsst/software/stack/conda/envs/lsst-scipipe-10.0.0/lib/python3.12/site-packages/pyvo/dal/tap.py:906, in AsyncTAPJob.run(self)
904 response = self._session.post(
905 '{}/phase'.format(self.url), data={"PHASE": "RUN"})
--> 906 response.raise_for_status()
907 except requests.RequestException as ex:
File /opt/lsst/software/stack/conda/envs/lsst-scipipe-10.0.0/lib/python3.12/site-packages/requests/models.py:1024, in Response.raise_for_status(self)
1023 if http_error_msg:
-> 1024 raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: for url: https://data.lsst.cloud/api/ssotap/async/phase
During handling of the above exception, another exception occurred:
DALServiceError Traceback (most recent call last)
Cell In[24], line 2
1 job = rsp_tap.submit_job(query, uploads={"ut1": ut1})
----> 2 job.run()
File /opt/lsst/software/stack/conda/envs/lsst-scipipe-10.0.0/lib/python3.12/site-packages/pyvo/dal/tap.py:908, in AsyncTAPJob.run(self)
906 response.raise_for_status()
907 except requests.RequestException as ex:
--> 908 raise DALServiceError.from_except(ex, self.url)
910 return self
DALServiceError: not found: phase
for https://data.lsst.cloud/api/ssotap/async
any help would be much appreciated!