problem plotting frames in a loop

From: Ivan Lima <ivan_at_nyahnyahspammersnyahnyah>
Date: Wed, 20 Oct 2004 12:19:16 -0400


  I am trying to plot several (264) frames for an animation using a
  'for' loop. It works fine until frame 46 then it aborts and dumps
  core. I know there are limits in the number of plots per
  workstation, but I create and 'destroy' the workspation for each

  for t in N.arange(chl.shape[0]):
     wks = Ngl.ngl_open_wks('eps',outfile,wres)
     map = Ngl.ngl_contour_map(wks,work,mres)
     del work, map

  Has anyone encoutered this problem before? Am I missing something?

  - Ivan

Ivan Lima
Woods Hole Oceanographic Institution, MC&G MS #25
360 Woods Hole Road, Woods Hole, MA 02543-1543 USA
pyngl-talk mailing list
Received on Wed Oct 20 2004 - 10:19:31 MDT

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:16 MST