Log in or register to vote.

arrayterator

Buffered iterator for big arrays.

This class creates a buffered iterator for reading big arrays in small
contiguous blocks. The class is useful for objects stored in the
filesystem. It allows iteration over the object *without* reading
everything in memory; instead, small blocks are read and iterated over.

The class can be used with any object that supports multidimensional
slices and a copy() method, like variables from Scientific.IO.NetCDF,
pynetcdf and numpy.array.

The latest version is available in a `Subversion repository
`_.

+1