Re: [Numpy-discussion] reshaping arrays

2013-03-04 Thread Benjamin Root
On Sat, Mar 2, 2013 at 11:35 PM, Sudheer Joseph sudheer.jos...@yahoo.comwrote: Hi Brad, I am not getting the attribute reshape for the array, are you having a different version of numpy than mine? I have In [55]: np.__version__ Out[55]: '1.7.0' and detail of the shape

Re: [Numpy-discussion] reshaping arrays

2013-03-04 Thread Sudheer Joseph
is the best way to re-scale the data to depth lat dimensions from the indices 1-12 and 1-14 With best regards, Sudheer From: Benjamin Root ben.r...@ou.edu To: Discussion of Numerical Python numpy-discussion@scipy.org Sent: Monday, 4 March 2013 7:40 PM Subject: Re: [Numpy-discussion] reshaping arrays

Re: [Numpy-discussion] reshaping arrays

2013-03-02 Thread Bradley M. Froehle
On Sat, Mar 2, 2013 at 6:03 PM, Sudheer Joseph sudheer.jos...@yahoo.comwrote: Hi all, For a 3d array in matlab, I can do the below to reshape it before an eof analysis. Is there a way to do the same using numpy? Please help. [nlat,nlon,ntim ]=size(ssh);

Re: [Numpy-discussion] reshaping arrays

2013-03-02 Thread Sudheer Joseph
*** From: Sudheer Joseph sudheer.jos...@yahoo.com To: Discussion of Numerical Python numpy-discussion@scipy.org Sent: Sunday, 3 March 2013 9:19 AM Subject: Re: [Numpy-discussion] reshaping arrays Thank you Brad, for the quick reply with solution, special thanks to the link for matlab users