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 <hartmut.kai...@gmail.com> 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
>    x = var['x'][:]
>    y = var['y'][:]
>    data = var['attrname'][:]     
>    elems = var['element'][:,:]-1
> 
>    triang = tri.Triangulation(x, y, triangles=elems)
> 
>    # this crashes the python interpreter
>    interp = tri.LinearTriInterpolator(triang, data)
> 
> The data arrays (x, y, data, elems) are fairly large (>1 mio elements), all
> represented as numpy arrays (as returned by netCDF4). The 'data' array is a
> masked array and contains masked values.
> 
> If somebody cares, I'd be able to post a link to the netCDF data file
> causing this.
> 
> All this happens when using matplotlib 1.3.1, Win32, Python 2.7.
> 
> Any help would be highly appreciated!
> Regards Hartmut
> ---------------
> http://boost-spirit.com
> http://stellar.cct.lsu.edu
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to