Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: conesearch.done - Function Up: conesearch - Tool Previous: conesearch.info - Function


conesearch.query - Function



Package vo
Module conesearch
Tool conesearch


Query a conesearch


Synopsis
query(i, ra, dec, sr, url)


Description
This queries a specific conesearch. The VOTable is returned as a record parsed by the gxmlparser tool.

The service is denoted by an integer - the index of the service in the list.

To facilitate testing of non-registered services, the query also accepts a URL. This must be the same URL as expected by the conesearch registry. For example for the NVSS conesearch being developed at the NRAO, this would be

http://www.aoc.nrao.edu/e2e/java/NVSSConeSearchServlet?



Arguments

i   Service to be queried
    Allowed: Integer
    Default: 1
ra   Right ascension (degrees)
    Allowed: Double
    Default: 200.0
dec   Declination (degrees)
    Allowed: Double
    Default: 45.0
sr   Search radius (degrees)
    Allowed: Float
    Default: 10
url   Alternative to service: URL to query
    Allowed: String
    Default: F


Returns
votable in record


Example
cs:=conesearch();
cs.list()
rec:=cs.query(14, 180, 45, 1)
cs.done()





next up previous contents index
Next: conesearch.done - Function Up: conesearch - Tool Previous: conesearch.info - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01