wlandsman / IDLAstro

Astronomy related procedures in the commercial IDL language
https://asd.gsfc.nasa.gov/archive/idlastro/
BSD 2-Clause "Simplified" License
146 stars 64 forks source link

queryvizier on GDL #38

Open gapfranco55 opened 5 months ago

gapfranco55 commented 5 months ago

Have anyone succeeded in running queryvizier in GDL? I am getting an error:

GDL> info = queryvizier('2MASS-PSC','m13',10) % Compiled module: QUERYVIZIER. % Compiled module: ZPARCHECK. % Compiled module: REPSTR. % Compiled module: IDLNETURL__DEFINE. % Type conversion error: Unable to convert given STRING: '[2] 41280' to INT. % MESSAGE: Variable must be a scalar in this context: <STRING Array[4]> % Execution halted at: IDLNETURL::GET 138

I would appreciate if anyone has a solution for this issue. Thanks a lot.

Gabriel