Re: [Matplotlib-users] memory error - netcdf plots

2011-10-23 Thread questions anon
Thanks Jeff! On Thu, Oct 20, 2011 at 1:16 PM, Jeff Whitaker wrote: > On 10/19/11 4:37 PM, questions anon wrote: > > thank you, I am not quite sure how to 'draw' the shapefile > > from matplotlib.collections import LineCollection > ax = plt.gca() # get current axes instan

Re: [Matplotlib-users] memory error - netcdf plots

2011-10-19 Thread Jeff Whitaker
On 10/19/11 4:37 PM, questions anon wrote: thank you, I am not quite sure how to 'draw' the shapefile from matplotlib.collections import LineCollection ax = plt.gca() # get current axes instance # 'DSE_REGIONS' instance variable created by readshapefile method call.

Re: [Matplotlib-users] memory error - netcdf plots

2011-10-19 Thread questions anon
thank you, I am not quite sure how to 'draw' the shapefile but making those changes and removing the shapefile has sped the processing up considerably! Thank you for your help On Wed, Oct 19, 2011 at 11:42 PM, Jeff Whitaker wrote: > On 10/18/11 8:55 PM, questions anon wrote: > > Thanks Jeff, th

Re: [Matplotlib-users] memory error - netcdf plots

2011-10-19 Thread Jeff Whitaker
On 10/18/11 8:55 PM, questions anon wrote: Thanks Jeff, that certainly speeds it up! But when I take them out of the loop and place them elsewhere they are no longer added to the map. Is there someway I can call them in the loop but still get it to run quickly? Thanks Just the Basemap instanc

Re: [Matplotlib-users] memory error - netcdf plots

2011-10-18 Thread questions anon
Thanks Jeff, that certainly speeds it up! But when I take them out of the loop and place them elsewhere they are no longer added to the map. Is there someway I can call them in the loop but still get it to run quickly? Thanks On Fri, Oct 14, 2011 at 10:54 PM, Jeff Whitaker wrote: > On 10/12/11

Re: [Matplotlib-users] memory error - netcdf plots

2011-10-14 Thread Jeff Whitaker
On 10/12/11 8:20 PM, questions anon wrote: Hi All, I keep receiving a memory error when processing many netcdf files. I assumed it had something to do with how I loop things and maybe needed to close things off properly but I recently received an error that made me think it might be because of

[Matplotlib-users] memory error - netcdf plots

2011-10-12 Thread questions anon
Hi All, I keep receiving a memory error when processing many netcdf files. I assumed it had something to do with how I loop things and maybe needed to close things off properly but I recently received an error that made me think it might be because of matplotlib. In the code below I am looping thr