
Dec. 11, 2015
10:22 a.m.
Mathieu Dubois <mathieu.dubois@icm-institute.org> wrote:
The point is precisely that, you can't do memory mapping with Npz files (while it works with Npy files).
The operating system can memory map any file. But as npz-files are compressed, you will need to uncompress the contents in your memory mapping to make sense of it. I would suggest you use PyTables instead of npz-files. It allows on the fly compression and uncompression (via blosc) and will probably do what you want. Sturla