<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks. Yeah, I’m not seeing any files created anywhere. The ps/pdf info is interesting, I didn’t try with those formats but that behaviour was what I wanted to avoid.<div class=""><br class=""></div><div class="">The calls to create the dummy wks and plot don’t seem to take any appreciable amount of time so seems good for now. <div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 12 Jan 2016, at 13:33, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" class="">brownrig@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi Alan,<br class=""><br class=""></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 class=""><br class=""></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 class=""><br class=""></div>Hope that answers your questions....<br class=""></div>Rick<br class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Jan 11, 2016 at 9:51 AM, Alan Brammer <span dir="ltr" class=""><<a href="mailto:abrammer@albany.edu" target="_blank" class="">abrammer@albany.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br class="">
<br class="">
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 class="">
<br class="">
Am I unnecessarily creating a hidden png somewhere on my filesystem or does that not happen until draw and frame are called?<br class="">
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 class="">
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 class="">
<br class="">
Thanks,<br class="">
<br class="">
Alan.<br class="">
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>