[Tutor] Python Help

Adam Grierson ag355 at hotmail.co.uk
Wed Apr 9 21:59:38 CEST 2014



I'm using 3D climate data (ending in “.nc”). The cube contains time, longitude and latitude. I would like to look at the average output over the last 20 years. The time field spans back hundreds of years and I only know how to collapse the entire field into a mean value. How can I tell python to collapse just the last 20 years into a mean value? 


Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140409/c21405ff/attachment.html>

More information about the Tutor mailing list