Re: [Numpy-discussion] saving 3d array

2013-06-16 Thread Sudheer Joseph
- http://oppamthadathil.tripod.com *** > > From: Camilo Andrés Jimenez Cruz >To: Discussion of Numerical Python >Sent: Sunday, 16 June 2013 11:37 PM >Subject: Re: [Numpy-discussion]

Re: [Numpy-discussion] saving 3d array

2013-06-16 Thread Camilo Andrés Jimenez Cruz
Hi! I know it is pretty much the same as you did before, but has been useful for me in the past. Instead of saving each array separately, just create a dictionary and save the it, something like d= {put_all_your_arrays_here} savez_compressed('file.npz', **d) -- Camilo Jiménez On Sat, Jun 15,

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Eric Firing
On 2013/06/15 6:06 AM, Pierre GM wrote: > > On Jun 15, 2013, at 17:35 , Matthew Brett wrote: > >> Hi, >> >> On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph >> wrote: >>> >>> Thank you very much for this tip. >>> Is there a typical way to save masked and the rest separately?. Not much >>> familia

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Sudheer Joseph
@gmail.com;sudheer.jos...@yahoo.com Web- http://oppamthadathil.tripod.com *** > > From: Pierre GM >To: Discussion of Numerical Python >Sent: Saturday, 15 June 2013 9:36 PM >Subject: Re: [Nu

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Pierre GM
On Jun 15, 2013, at 17:35 , Matthew Brett wrote: > Hi, > > On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph > wrote: >> >> Thank you very much for this tip. >> Is there a typical way to save masked and the rest separately?. Not much >> familiar with array handling in numpy. > > I don't use m

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph wrote: > > Thank you very much for this tip. > Is there a typical way to save masked and the rest separately?. Not much > familiar with array handling in numpy. I don't use masked array myself, but it looks like it would be something like: eo

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Sudheer Joseph
Thank you very much for this tip. Is there a typical way to save masked and the rest separately?. Not much familiar with array handling in numpy. Sudheer ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinf

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 1:22 PM, Sudheer Joseph wrote: > Dear Experts, > I was trying to save results of eof analysis to an npz > file and see that it is not possible to save a 3d array as npz file variable. > Is this true even today or are there developments which make

[Numpy-discussion] saving 3d array

2013-06-15 Thread Sudheer Joseph
Dear Experts,     I was trying to save results of eof analysis to an npz file and see that it is not possible to save a 3d array as npz file variable. Is this true even today or are there developments which make this possible?  I am able to save all other variables except the 3d