QueryVizier, multiple objects. [message #86584] |
Wed, 20 November 2013 15:28 |
Russell Ryan
Messages: 122 Registered: May 2012
|
Senior Member |
|
|
I'm familiar with the QueryVizier function in the Astrolib. It seems to only query one object at a time, even though vizier allows you to upload a list. I've looked in the queryvizier code and it seems like one should be able to modify the queryURL variable to query for multiple objects (from the same catalog). Of course, the results from such a query might be complicated and tough to deal with (without lists or hashes), but I have a plan for that part of the problem: I'm writing a general purpose catalog object which will allow me to do a bunch of catalog operations, as it is my object will read, write, match (two catalog objects), and interface with ds9 (through regions files). But it thought it would be useful if I could query vizier to see if any of the sources in my catalog object are in known databases. Of course, I could just loop through my catalog and call queryvizier() each time, but since vizier accepts a file list, that seems better… (my plan is, if vizier returns matches, then it would append those columns to my existing object catalog or write the vizier catalog to another catalog object).
I just want to know if anyone knows how to modify the command sent to webget() which would allow for multiple objects with known RA,Dec. If it helps, I can write the RA/Dec pairs to a local file (but would prefer not to).
Any ideas?
Russell
|
|
|