[SciPy-User] numpy array append

questions anon questions.anon@gmail....
Tue Aug 16 22:49:09 CDT 2011


Excellent, thank you, that worked!!

On Wed, Aug 17, 2011 at 12:27 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Tue, Aug 16, 2011 at 19:42, questions anon <questions.anon@gmail.com>
> wrote:
> > Thanks Tim, that worked although I did run into a problem with different
> the
> > sizes of each file.
> > Each netcdf file contains a month of hourly data and some of those months
> > are 31 days and some are 28 or 30. Is there a way to get this to work?
>
> You probably want the following:
>
>  big_array = N.concatenate(all_TSFC)
>  Mean = big_array.mean(axis=0)
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20110817/2dfa44e7/attachment.html 


More information about the SciPy-User mailing list