Masahiro Tanaka wrote:
> Right.
> Note that reshape! changes the shape of original narray without creating 
> new object.
> reshape creates new object with new shape.

The "!" was a mistake, I meant to do this:
new = narray.reshape(96,73,12,140).mean(3)

That seems to be working as expected - thanks again!
-- 
Posted via http://www.ruby-forum.com/.