wiki:WebQuery

Version 2 (modified by MatthewWhiting, 17 years ago) (diff)

--

Web Archives and Queries

The second aspect of this project will be constructing a web service that will be able to query and search the data set, and making this available through VO services. This will build on the work done by Albert Teoh in constructing the web archive, and extending this to provide VO Cone Search queries that return VOTables.

Some links:

  • Albert's web archive: (contact me if you don't know the address -- don't know if we want to publicise it on the wiki).
  • My working page that incorporates the limited S70 data (from $S70TAPES directory): <ARCHIVE_BASE>/test/whi550/
    • This just does cone-searching on the S70 data.
    • A temporary table is loaded each time a query is made -- this is just for testing purposes, but is enough to get the idea.
  • A cone-search web service that returns a VOTable is available at <ARCHIVE_BASE>/test/whi550/conequery-vo.php This accepts three parameters (as per the VO conesearch standard): RA, DEC, SR. It is available to test now: try something like <ARCHIVE_BASE>/test/whi550/conequery-vo.php?RA=0.&DEC=-49.&SR=1. and you should see the result in your web browser. To save to a file (which you could then load into a VOTable browser such as TOPCAT: http://www.starlink.ac.uk/topcat/), try
    wget -O output_file <ARCHIVE_BASE>/test/whi550/conequery-vo.php?RA=0.\&DEC=-49.\&SR=1.