comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: queryvizier error (astronomy library)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: queryvizier error (astronomy library) [message #70106] Thu, 11 March 2010 13:30
MichaelT is currently offline  MichaelT
Messages: 52
Registered: May 2006
Member
Wayne, thanks so much for the quick fix!

Cheers,
Michael
Re: queryvizier error (astronomy library) [message #70107 is a reply to message #70106] Thu, 11 March 2010 11:54 Go to previous message
wlandsman is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: queryvizier error (astronomy library)
Next Topic: Rebin for strings

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:30:12 PDT 2025

Total time taken to generate the page: 0.47998 seconds