[Numpy-discussion] Fast Reading of ASCII files

Chris Barker chris.barker at noaa.gov
Wed Dec 14 15:54:53 EST 2011

On Wed, Dec 14, 2011 at 11:36 AM, Benjamin Root <ben.root at ou.edu> wrote:
>>> well, yes, though it does do a lot -- do you have a smpler one in mind?
>> Just looking at what I normally wouldn't need for simple data files and/or
>> what a beginning user won't understand at once, the `unpack` and `ndmin`
>> keywords could certainly be left out. `converters` is also questionable.
>> That's probably as simple as it can get.

this may be a function of a well written doc string -- if it is clear
to the newbie that " all the rest of this you don't need unless you
have a wierd data file", then extra keyword arguments don't really

A few examples of the basic use-cases go a long way.

And yes, the core reader for the complex cases isn't going to e fast
(it's going to be complex C code...). but we could still have a core
reader that handled most cases.

Anyway, I think it's time write code, and see if it can be rolled in somehow...



Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov

More information about the NumPy-Discussion mailing list