Re: [Numpy-discussion] sum of array for masked area

2013-11-29 Thread questions anon
Thank you Scott for your prompt response. Your suggestion has fixed the problem and thank you for your clear explanation of how it works. thanks!! On Thu, Nov 28, 2013 at 7:20 PM, Scott Sinclair wrote: > On 28 November 2013 09:06, questions anon > wrote: > > I have a separate text file for da

Re: [Numpy-discussion] sum of array for masked area

2013-11-28 Thread Scott Sinclair
On 28 November 2013 09:06, questions anon wrote: > I have a separate text file for daily rainfall data that covers the whole > country. I would like to calculate the monthly mean, min, max and the mean > of the sum for one state. > > I can get the max, min and mean for the state, but the mean of t

[Numpy-discussion] sum of array for masked area

2013-11-27 Thread questions anon
Hi All, I just posted this on the SciPy forum but realised it might be more appropriate here? I have a separate text file for daily rainfall data that covers the whole country. I would like to calculate the monthly mean, min, max and the mean of the sum for one state. The mean, max and min are jus