[AstroPy] Enhanced CSV format file extension

Aldcroft, Thomas aldcroft at head.cfa.harvard.edu
Tue Jan 26 22:48:41 EST 2016


On Tue, Jan 26, 2016 at 8:09 PM, Stephen Bailey <stephenbailey at lbl.gov>
wrote:

> The code examples in APE6 use .ecsv, which seems good for distinguishing
> it from plain .csv or who-knows-what .txt .
>

Yes, .ecsv was informally settled on as the preferred extension.  It's a
good idea to not use .csv since that extension is special to astropy and
will default to using the "ascii.csv" reader.

- Tom


>
> Stephen
>
> On Tue, Jan 26, 2016 at 4:54 PM, David Kirkby <dkirkby at uci.edu> wrote:
>
>> Is there a recommended file extension to use with the ECSV format:
>>
>>   https://github.com/astropy/astropy-APEs/blob/master/APE6.rst
>>
>> I see that astropy.io.registry does not auto-identify this format, but it
>> seems like .txt and .csv would both be reasonable choices.
>>
>> David
>>
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> https://mail.scipy.org/mailman/listinfo/astropy
>>
>>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20160126/e2e762d3/attachment.html>


More information about the AstroPy mailing list