[SciPy-User] numpy array append
Tue Aug 16 21:27:37 CDT 2011
On Tue, Aug 16, 2011 at 19:42, questions anon <firstname.lastname@example.org> 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)
"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
More information about the SciPy-User