[AstroPy] Write machine readable tables in Python?

Aldcroft, Thomas aldcroft at head.cfa.harvard.edu
Thu Apr 10 19:10:57 EDT 2014


On Thu, Apr 10, 2014 at 6:57 PM, Derek Homeier <
derek at astro.physik.uni-goettingen.de> wrote:

> On 11 Apr 2014, at 12:21 am, Leo Singer <lsinger at caltech.edu> wrote:
>
> > Does anyone know of a tool for writing Machine Readable Tables (CDS
> format) in Python? I know that astropy.table and asciitable can read them,
> but I need to write one.
>

Sorry, there is no support for writing CDS in astropy, asciitable or ATpy.
 If anybody knows of any code for doing this we could hopefully adapt for
astropy.io.ascii.  Otherwise this is an opportunity to contribute to
astropy!  :-)

Cheers,
Tom



>
> ATpy came with write support various ascii formats:
>
> http://atpy.readthedocs.org/en/stable/format_ascii.html
>
> The core of this has made it afaik into astropy.table; a quick look at the
> Table.write documentation
> did not show any explicit mention of CDS, but I'd think it should not be
> too difficult to
> reproduce the functionality.
>
> Cheers,
>                                         Derek
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20140410/9ad28019/attachment.html>


More information about the AstroPy mailing list