On Mon, Oct 10, 2011 at 11:38 AM, Arulalan T <[email protected]> wrote:
> I couldnt use mmap( ) function in my case, since I am accessing the binary
> file like NetCDF, PP, HDF, Grads which contains data
> in formats of numpy.float32, numpy.float64 and some meta data also.
>
> These files cant read it as like normal text file object such as
> fileobj.readlines( ). i.e. These files are not string type.
> So I cant use mmap( ) in this case.

mmap is suitable for all types of files.

See numpy.memmap()

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to