|
Re: queryvizier error (astronomy library) [message #70107 is a reply to message #70106] |
Thu, 11 March 2010 11:54  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
On Mar 11, 1:59 pm, MichaelT <michael.theus...@googlemail.com> wrote:
> Dear all,
>
> I have encountered an error when using queryvizier from NASA's
> astronomy library:
>
> However, I'd expect to receive the same message when I use the /
> AllColumns keyword. But, as you can see, there is an error at line
> 301, which I am unable to resolve.
>
The proximate cause of the problem is that the Vizier database changed
their text output so that column names were returned even when there
was no data. This fooled queryivizer.pro into thinking there was
data present when there really wasn't.
The distal cause of the problem is that I am too lazy to figure out
how to parse the XML output from the Web query. Instead I keep
using the plain text output, and thus I am (more) at mercy when they
change their output text format.
I have posted a fix at
http://idlastro.gsfc.nasa.gov/ftp/pro/sockets/queryvizier.pr o
Apologies to non-astronomers...--Wayne
|
|
|