Reading (a particular type of) votables gives error
See original GitHub issueHere is an example votable I can’t read with astropy: http://vospace.esac.esa.int/vospace/sh/265c9a2292e138d1a5e11aaa742bb78a4c9ed6?dl=1 , but there are a lot of them of such kind. So, you can download the table, unpack (to get a *.vot file) and try to read:
astropy.table.Table.read('1475831383991O.vot', format='votable')
# gives OSError: Not a gzipped file (b'\r\n')
and trying another way:
astropy.io.votable.parse_single_table('1475831383991O.vot')
# same error
So, anyway to deal with this and open the table?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
VOTable XML Handling (astropy.io.votable) — Astropy v5.2
If you want to read or write a single table in VOTable format, the recommended method is via the high-level Unified File Read/Write...
Read more >Acts As Votable Get Upvotes Error - ruby on rails
Reading the docs, it looks like get_upvotes is a method on the acts_as_votable , not the acts_as_voter . I don't know much about...
Read more >VO tables — ATpy 0.9.7 documentation - Read the Docs
When pedantic is True, raise an error when the file violates the VO Table specification, otherwise issue a warning. atpy.votable.write(self, filename, votype=' ...
Read more >VOTable: Why, What and How? - IVOA
can store scalar/array numeric/character types in columns ... can use existing XML technology for VOTable manipulation ... How to Read VOTables. Write your ......
Read more >5 common word reading errors and how to help
being read so you can give support in correcting reading mistakes. ... Each type of error will be labeled, and an example of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It looks like 1475831383991O.vot is actually a gzipped file?
If so, the extension is incorrect - I think? Or does the standard allow a VO table to be compressed like this?
I’m going to close this since this is not an Astropy issue, but @aplavin, it would be great if you could report this to the GAIA helpdesk. Thanks!