<div dir="ltr"><div><div><div><div>Hi Alan,<br><br></div>I'm not expert at this, but to the best of my knowledge, get_isolines is the only way (currently) to get at the contour lines, and it is fundamentally based upon the contour plot object. So your approach is pretty much what is required. <br><br></div>There should be no hidden files being created however -- at most, there may be an empty file with the name you gave to the gsn_open_wks() call. For PNG output however, the file is not created until the workstation is "cleared", which is invoked by a "frame()", so you shouldn't be seeing any plot output files from your script. (is this true?). This is not the case for ps/pdf/svg output, where the plotfile is created upon workstation open. <br><br></div>Hope that answers your questions....<br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 11, 2016 at 9:51 AM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I’m writing a function that utilises the get_isollines function. I don’t want a plot however, so am currently generating a png workstation then creating a plot but never drawing or framing. This works fine and seems to be fast enough for now, just wondering if there is a cleaner way?<br>
<br>
Am I unnecessarily creating a hidden png somewhere on my filesystem or does that not happen until draw and frame are called?<br>
If there are system calls occurring in the background is there any difference (in terms of computation time) about the type of “fake” workstation I create?<br>
Is it possible to use get_isollines without the dummy wks and plot calls .e.g Is there a background marching squares algorithm already setup for wrapping into NCL?<br>
<br>
Thanks,<br>
<br>
Alan.<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>