[AstroPy] Python interface for querying Vizier?

Danny Jacobs jacobsda@sas.upenn....
Mon Jun 21 21:03:12 CDT 2010

Hi Marshall,
I've been doing cone searches in Vizier using VO Desktop which has a
python module interface.


I don't think it has all of Vizier's functionality but you can
definitely search a catalog. There were some difficulties dealing with
the votable strings it returns but with a little StringIO magic and
one of several table readers out there (i use atpy
http://atpy.sourceforge.net/)  you can get your data into a usable
numpy table.


On Mon, Jun 21, 2010 at 7:55 PM, Rick Wagner <rwagner@physics.ucsd.edu> wrote:
> Hi Marshall,
> I don't know if anyone has written a Python interface specifically for VizieR, but CDS does release a command-line client [1], which could be wrapped in systems calls. However, I would probably go with using SOAPpy [2] to call the VizieR portion of the CDS Web Services [3].
> I've cc'ed the IVOA Applications [4] mailing list, because that's where you're likely to find out about the latest VO tools. Feel free to ask there, and check the link for tools that might suit your needs.
> --Rick
> [1] http://cdswww.u-strasbg.fr/vizier/doc/cdsclient.html
> [2] http://pywebsvcs.sourceforge.net/
> [3] http://cdsweb.u-strasbg.fr/cdsws.gml
> [4] http://www.ivoa.net/cgi-bin/twiki/bin/view/IVOA/IvoaApplications
> On Jun 21, 2010, at 4:53 PM, Marshall Perrin wrote:
>> Hi all,
>> Is there a recommended strategy for accessing the Vizier catalog service from within Python?  Some equivalent to IDL's queryvizier.pro would be great, though of course a more Pythonesque object interface would be even better. Has anyone taken a stab at creating something like this? Or is there something in the VO toolkit that can do this sort of thing but that I don't know about? (I confess it seems hard for a relative outsider to the VO community to keep track of what's actually been built there so far...)
>> Thanks in advance,
>> - Marshall
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy@scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy

Danny Jacobs

Dept. of Physics and Astronomy
University of Pennsylvania
209 South 33rd Street
Philadelphia, PA 19104-6396
Office:		Rittenhouse Lab - 1n2a
Phone:		(215) 280-7357
Fax:		(215) 898-2010
Homepage:     http://dannycjacobs.googlepages.com

More information about the AstroPy mailing list