[Numpy-discussion] Fastest way to parsing a specific binay file

Gökhan Sever gokhansever@gmail....
Wed Sep 2 13:30:46 CDT 2009


On Wed, Sep 2, 2009 at 12:29 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Wed, Sep 2, 2009 at 12:27, Gökhan Sever<gokhansever@gmail.com> wrote:
> >
> > On Wed, Sep 2, 2009 at 12:01 PM, Citi, Luca <lciti@essex.ac.uk> wrote:
> >>
> >> If I understand the problem...
> >> if you are 100% sure that "', '" only occurs between fields
> >> and never within, you can use the 'split' method of the string
> >> which could be faster than regexp in this simple case.
> >> _______________________________________________
> >> NumPy-Discussion mailing list
> >> NumPy-Discussion@scipy.org
> >> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> >
> > But it is not possible to extract a pattern such as within a field. A
> > construct like in regex starting with a ; till the end of the section. ??
>
> I can't parse that sentence. Can you describe the format in a little
> more detail? Or point to documentation of the format? Or the IDL code
> that parses it?
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>  -- Umberto Eco
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>

IDL processing code is on:

http://adpaa.svn.sourceforge.net/viewvc/adpaa/trunk/src/Level1/process_raw/

A part of ADPAA - Aircraft Data Processing and Analysis project.

-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090902/9ccae0bc/attachment-0001.html 


More information about the NumPy-Discussion mailing list