Brian Donovan wrote:
> Hello all,
> 
>   I'm wondering if there is a way to use a numpy array that uses disk as
> a memory store rather than ram. I'm looking for something like mmap but
> which can be used like a numpy array. The general idea is this. I'm
> simulating a system which produces a large dataset over a few hours of
> processing time. Rather than store the numpy array in memory during
> processing I'd like to write the data directly to disk but still be able
> to treat the array as a numpy array. Is this possible? Any ideas?

What you're looking for is numpy.memmap, though the documentation is
eluding me at the moment.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to