[AstroPy] Vizier Web API

Tom Aldcroft aldcroft at head.cfa.harvard.edu
Fri Dec 14 17:52:06 EST 2012


Does anyone know how use the web API to do cone searches on specific
catalogs using Vizier?  I'm looking at [1] which says I should be able
to use "-out.form" to select the output format, but it always returns
the results as an HTML-formatted page.  I just need any machine
readable format like CSV, XML, whatever.

For instance:

http://vizier.cfa.harvard.edu/viz-bin/VizieR?-source=I%2F284%2Fout&-out.form=plain&-c=50.00+50.00

If I load that, then conveniently there is a submit button to the
lower left that then returns what I want.  Hmm.

Thanks,
Tom

[1]: http://vizier.cfa.harvard.edu/doc/asu-summary.htx



More information about the AstroPy mailing list