[Numpy-discussion] Efficient reading of binary data

Christopher Barker Chris.Barker@noaa....
Fri Apr 4 16:20:26 CDT 2008


Nicolas Bigaouette wrote:
> So the next step would be to only read the needed data from the binary 
> file...

You've gotten some suggestions, but another option is to use file.seek(0 
to get where your data is, and numpy.fromfile() from there.

-CHB


-- 
Christopher Barker, Ph.D.
Oceanographer

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@noaa.gov


More information about the Numpy-discussion mailing list