Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-12 Thread Hartmut Kaiser
> -Original Message- > From: Ian Thomas [mailto:ianthoma...@gmail.com] > Sent: Tuesday, August 12, 2014 4:35 AM > To: Hartmut Kaiser > Cc: Andrew Dawson; Carola Kaiser; matplotlib-users > Subject: Re: [Matplotlib-users] Crash when using > matplotlib.tri.LinearTriInterpola

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-12 Thread Ian Thomas
Here are the results of my investigation. There is probably more information here than anyone else wants, but it is useful information for future improvements. Most of the RAM is taken up by a trifinder object which is at the heart of a triinterpolator, and is used to find the triangles of a Tria

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Hartmut Kaiser
> > I ran the example on my machine (which is a 64-bit Linux box with 8 GB > of > > RAM; Python 2.7, matplotlib 1.3.1) and it runs fine. However, it does > use > > around 2 GB of memory, perhaps slightly more. I think the memory usage > > might be a problem for you if you are using 32-bit Windows.

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Hartmut Kaiser
Andrew, > I ran the example on my machine (which is a 64-bit Linux box with 8 GB of > RAM; Python 2.7, matplotlib 1.3.1) and it runs fine. However, it does use > around 2 GB of memory, perhaps slightly more. I think the memory usage > might be a problem for you if you are using 32-bit Windows. I'm

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Dale Chayes
Runs to completion without errors on my installation: OS X 10.9.4 MacBook Air w/ 8GB of memory Python 2.7 and matplotlib 1.3.1-1 lib -Dale On Aug 10, 2014, at 13:43 , Hartmut Kaiser wrote: > All, > > I'm running into a crash while trying to construct a > tri.LinearTriInterpolator. Here is

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Andrew Dawson
Hi Hartmut. I ran the example on my machine (which is a 64-bit Linux box with 8 GB of RAM; Python 2.7, matplotlib 1.3.1) and it runs fine. However, it does use around 2 GB of memory, perhaps slightly more. I think the memory usage might be a problem for you if you are using 32-bit Windows. I'm not

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Hartmut Kaiser
Ian, > I'm running into a crash while trying to construct a > tri.LinearTriInterpolator. Here is the short version of the code: > > import netCDF4 > import matplotlib.tri as tri > > var = netCDF4.Dataset('filename.cdf').variables > x = var['x'][:] > y = var['y'][:] > data

Re: [Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-11 Thread Ian Thomas
On 10 August 2014 18:43, Hartmut Kaiser wrote: > All, > > I'm running into a crash while trying to construct a > tri.LinearTriInterpolator. Here is the short version of the code: > > import netCDF4 > import matplotlib.tri as tri > > var = netCDF4.Dataset('filename.cdf').variables >

[Matplotlib-users] Crash when using matplotlib.tri.LinearTriInterpolator

2014-08-10 Thread Hartmut Kaiser
All, I'm running into a crash while trying to construct a tri.LinearTriInterpolator. Here is the short version of the code: import netCDF4 import matplotlib.tri as tri var = netCDF4.Dataset('filename.cdf').variables x = var['x'][:] y = var['y'][:] data = var['attrname'][: