0
Completed

API access to the Archive

Anonymous 6 years ago in Search for data updated by Archive Science Group 5 years ago 2

It would be very useful to allow access to the archive in a way by providing search criteria in the URL, similarly as in MAST, e.g. https://mast.stsci.edu/portal/Mashup/Clients/Mast/Portal.html?searchQuery=17:58:13.64%20-31:38:32.5

Maybe it is already possible? 

Answer

Answer

Dear Anomymous,

with the recent upgrade of the Archive Science Portal, it is now possible to perform a search directly providing search criteria in the URL.  For instance:

http://archive.eso.org/scienceportal/home?pos=11.89,-25.29&r=0.2

Cheers,
Chiara (ASG)

Started

Hi, 

thanks a lot for your question/suggestion. 

We agree that it will be very useful to access to the web user interface via a URL, but unfortunately with the current (beta) version of the Archive Science Portal this is still not possible.
We foreseen to add this functionality for one of the next releases, since we believe that bookmark-ability is an important requirement (e.g. be able to share the URL of a given search to a colleague or store it to reproduce the results at later times). 

At the moment, Programmatic and tool access via URLs can be achieved via the tap_obs service, e.g.: 

http://archive.eso.org/tap_obs/sync?REQUEST=doQuery&LANG=ADQL&MAXREC=200&FORMAT=votable&QUERY=SELECT+TOP+1000+*+from+ivoa.ObsCore+where+INTERSECTS(circle('',269.5568333,-31.6423611,0.25),+s_region)=1 

This URL will return any dataset whose footprint (s_region) intersects the mentioned cone.

 

or/and via the SSAP for 1d-spectra:

http://archive.eso.org/ssap?REQUEST=queryData&POS=269.556833333334,-31.6423611111111&SIZE=0.5

specifying the position in decimal degrees, a querying in a cone of 0.25 degrees radius around it.


(See the Programmatic Access Forum for more information) 


We hope our answer was useful!

Chiara (ASG) 

Answer

Dear Anomymous,

with the recent upgrade of the Archive Science Portal, it is now possible to perform a search directly providing search criteria in the URL.  For instance:

http://archive.eso.org/scienceportal/home?pos=11.89,-25.29&r=0.2

Cheers,
Chiara (ASG)