[SciPy-user] help assigning arrays - global model output

John [H2O] washakie@gmail....
Fri Jul 18 01:07:14 CDT 2008

Robert Kern-2 wrote:
> Please double-check your shapes by printing out the actual shapes:

Seems I must have been doing something wrong earlier! You're correct, I just
rewrote it in the 'old' or desired method without using the dict, and it
works! I must have been doing something wrong earlier... now to just figure
out which dimensions to sum across. 

Mind providing some insight on how to generate the average? What I have is
an array, with 20 days worth of global model output at three layers
(180,360,3) so my array is actually shape (180,360,3,20). I want the average
over the 20 days of the sum of the three vertical layers. I would also like
the complete sum.

Thanks in advance if you're so inclined!
View this message in context: http://www.nabble.com/help-assigning-arrays---global-model-output-tp18522938p18523212.html
Sent from the Scipy-User mailing list archive at Nabble.com.

More information about the SciPy-user mailing list