[Numpy-discussion] Endianness not detected in OS X Lion

2014-10-15 Thread Nicola
Hi, I am trying to install numpy 1.9.0 on OS X Lion 10.7.5 and I get the same error as reported in this old thread: http://thread.gmane.org/gmane.comp.python.numeric.general/47711/ that is, numpy/core/src/npymath/npy_math_private.h:78:3: error: conflicting types for

Re: [Numpy-discussion] Endianness not detected in OS X Lion

2014-10-15 Thread Julian Taylor
On 15.10.2014 16:21, Nicola wrote: Hi, I am trying to install numpy 1.9.0 on OS X Lion 10.7.5 and I get the same error as reported in this old thread: http://thread.gmane.org/gmane.comp.python.numeric.general/47711/ ... ^ no matter whether I use the system's clang or gcc 4.9

Re: [Numpy-discussion] Endianness not detected in OS X Lion

2014-10-15 Thread Nicola
In article 543eac76.7070...@googlemail.com, Julian Taylor jtaylor.deb...@googlemail.com wrote: On 15.10.2014 16:21, Nicola wrote: Hi, I am trying to install numpy 1.9.0 on OS X Lion 10.7.5 and I get the same error as reported in this old thread:

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 fadzilmno...@gmail.com 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

Re: [Numpy-discussion] Best way to expose std::vector to be used with numpy

2014-10-15 Thread Chris Barker
Sorry about SWIG -- maybe a chance to move on ;-) I'd go with Cython -- this is pretty straightforward, and it handles the buffer protocol for you under the hood. And with XDress, you can get numpy wrapped std::vector out of the box, I think: https://s3.amazonaws.com/xdress/index.html if you

Re: [Numpy-discussion] Best way to expose std::vector to be used with numpy

2014-10-15 Thread V. Armando Sole
On 15.10.2014 21:48, Chris Barker wrote: Sorry about SWIG -- maybe a chance to move on ;-) I'd go with Cython -- this is pretty straightforward, and it handles the buffer protocol for you under the hood. +1 All the standard containers are automatically wrapped and C++ exceptions can be

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 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 was