[Numpy-discussion] memmap capability

Robert Kern robert.kern@gmail....
Wed Aug 12 11:15:43 CDT 2009


On Fri, Aug 7, 2009 at 13:05, Tom Kuiper<kuiper@jpl.nasa.gov> wrote:
> If this appears twice, forgive me.  I sent it previously (7:13 am PDT) via a
> browser interface to JPL's Office Outlook.  I have doubts about this
> system.  This time, from Iceweasel through our SMTP server.
>
> There are two things I'd like to do using memmap.  I suspect that they are
> impossible but maybe I'm missing some subtlety.
> 1) I would like to append rows to a memmap array and have the modified array
> changed on disk also.
> 2) I would like to have the memory view of the array on disk change, i.e.,
> modify the offset for an opened array.
> The only way I can think of involves opening and closing arrays repeatedly.

That's the only way to do 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


More information about the NumPy-Discussion mailing list