Re: [Tutor] numpy.mean across multiple netcdf files

2011-08-16 Thread questions anon
Thanks Andre I had a go at following your advice but it didn't seem to work (it kept focusing on the last loop and not combining them all together) so I have posted a note on scipy user group instead (code below). Also thanks for the advice regarding averaging! from netCDF4 import Dataset import

Re: [Tutor] numpy.mean across multiple netcdf files

2011-08-10 Thread Andre' Walker-Loud
Hello Anonymous Questioner, First - you will probably be told this isn't the correct email list for this question - this is a general python tutorial list, while your question is numpy specific, so if this doesn't help, you should probably look to another email list. There are a couple general

[Tutor] numpy.mean across multiple netcdf files

2011-08-10 Thread questions anon
I have many ncfiles each containing one month of hourly temperature data. I have worked out how to loop through a number of ncfiles and calculate the mean for each file at a particular time and even plot this and output as a *.png. What I am unsure of is how to calculate the mean at a particular ti