Re: [Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-15 Thread Fadzil Mnor
Thanks for confirming that I'm not the only one having trouble with IRIS installation. Such a pain! Back to the first question, I figured that the NCEP Reanalysis data has the y axis "from 90N to 90S", means the indexing started from north (90), not south (-90), which means that my calculation wa

Re: [Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-15 Thread Benjamin Root
Stephen is being a bit modest by putting xray last in the list. I recommend it, and it is very painless to install. I could only get iris installed via a SciTools repo on binstar and even then, I had to tinker with a few things to get it working (and it was only the linux binaries, too). Ben Root

Re: [Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-15 Thread Chris Barker
On Tue, Oct 14, 2014 at 11:30 AM, Fadzil Mnor wrote: > I've been trying to install IRIS on my laptop (OS X) for months. Errors > everywhere. > I'll look at that IRIS again, and other links. > IRIS has been an install challeng,e but gotten better. And you ay even find a conda package for it if y

Re: [Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-14 Thread Fadzil Mnor
Thank you Stephan, I've been trying to install IRIS on my laptop (OS X) for months. Errors everywhere. I'll look at that IRIS again, and other links. Cheers, Fadzil On Tue, Oct 14, 2014 at 7:09 PM, Stephan Hoyer wrote: > Hi Fadzil, > > My strong recommendation is that you don't just use numpy

Re: [Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-14 Thread Stephan Hoyer
Hi Fadzil, My strong recommendation is that you don't just use numpy/netCDF4 to process your data, but rather use one of a multitude of packages that have been developed specifically to facilitate working with labeled data from netCDF files: - Iris: http://scitools.org.uk/iris/ - CDAT: http://uvcd

[Numpy-discussion] numpy.mean slicing in a netCDF file

2014-10-14 Thread Fadzil Mnor
Hi all, I wrote a script and plot monthly mean zonal wind (from a netcdf file names uwnd.mon.mean.nc) and I'm not sure if I'm doing it correctly. What I have: *#this part calculates mean values for january only, from