Coder Social home page Coder Social logo

Comments (4)

bsipocz avatar bsipocz commented on July 3, 2024 3

I'm afraid this is an upsteam issue, the returned VOtable seems to violate the votable linter. I'm inclined to close this issue as we can't do much about it in astroquery and as I detail it out below, it doesn't involve any of the functionalities from here.

Some other issues: Please not the big red warning at the top of the documentation, we do not support direct usage of TapPlus, please use PyVO instead. (but this doesn't effect the problem, the UnicodeDecodeError just as present with it.

cc @ManonMarchand for the upstream simbad issue (it also present on the branch of #2856)

Here is the votable, if that's of any help:

<?xml version="1.0" encoding="utf-8"?>
<VOTABLE version="1.3" xmlns="http://www.ivoa.net/xml/VOTable/v1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ivoa.net/xml/VOTable/v1.3 http://www.ivoa.net/xml/VOTable/v1.3">
<RESOURCE type="results">
<INFO name="QUERY_STATUS" value="OK"/>
<INFO name="PROVIDER" value="CDS">SIMBAD TAP Service</INFO>
<INFO name="QUERY" value="SELECT title FROM ref WHERE oidbib='423320'"/>
<TABLE name="result_S1704486906566">
<FIELD arraysize="*" datatype="char" name="title" ucd="meta.title" xtype="adql:CLOB">
<DESCRIPTION>Title</DESCRIPTION>
</FIELD>
<DATA>
<BINARY>
<STREAM encoding='base64'>
AAAASkRldGVjdGlvbiBvZiC0IFNjdXRpIFB1bHNhdG9ycyBpbiB0aGUgRWNsaXBz
aW5nIEJpbmFyaWVzIE9ic2VydmVkIGJ5IFRFU1Mu
</STREAM>
</BINARY>
</DATA>
</TABLE>
</RESOURCE>
</VOTABLE>

from astroquery.

ManonMarchand avatar ManonMarchand commented on July 3, 2024 1

Thanks for the report and the perfect minimal example.

The error is upstream indeed. This field should be unicodechar and not char.

While waiting for the fix to be done on our side (might take a few days), note that you can open this votable with topcat (its parser is more permissive on types) or get the table in an other format through pyvo (fits, json and csv should work)

from astroquery.

aoberto avatar aoberto commented on July 3, 2024

this should be solved now, sorry for the delay

from astroquery.

bsipocz avatar bsipocz commented on July 3, 2024

Thanks @aoberto!

from astroquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.