<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 15, 2014 at 11:15 PM, David Brown <span dir="ltr">&lt;<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Mathieu,<br>
I am interested in your comment that &quot;the speed is still not<br>
absolutely excellent at 2.8s&quot;. What kind of performance do you think<br>
would be &quot;excellent&quot;? Are there other tools that achieve the<br>
performance you want? We are interested in any actual comparisons you<br>
want to give us. And of course we are always seeking to improve the<br>
performance of NCL as long as it does not compromise accuracy, which<br>
is our over-arching goal.<br></blockquote><div>Ok, I understand your concern. As I said, the 2s is acceptable though not</div><div>absolutely excellent.</div><div><br></div><div>I will write some test for the plot of unstructured grid and compare with other</div><div>programs. I trully want to have unstructured mesh plots and the situation</div><div>is not excellent right now.</div><div><br></div><div>However, I can already give you a test where ncl is problematic.</div><div>I want to draw a finite element mesh on the plane. So basically 80000</div><div>edges.</div><div><br></div><div>I use &quot;gsn_add_polyline&quot; for each edge which I know is problematic for</div><div>ncl, but I do not see any obvious alternative in ncl for the task. However,</div><div>a same call to SVG (Scalable Vector Graphics) works correctly with</div><div>&quot;inkscape&quot; with similar syntax.</div><div><br></div><div>Test files are available via</div><div><a href="http://mathieudutour.altervista.org/Sending/PLOT_MESH.tar.gz">http://mathieudutour.altervista.org/Sending/PLOT_MESH.tar.gz</a></div><div><br></div><div>  Mathieu</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 -dave<br>
<br>
On Thu, Dec 11, 2014 at 7:21 AM, Mathieu Dutour<br>
<div class=""><div class="h5">&lt;<a href="mailto:mathieu.dutour@gmail.com">mathieu.dutour@gmail.com</a>&gt; wrote:<br>
&gt; Dear Mary,<br>
&gt;<br>
&gt; thank you very much! Yes with &quot;RasterFill&quot; it works correctly.<br>
&gt; I used version 6.2.1.<br>
&gt;<br>
&gt; However the speed is still not absolutely excellent at 2.8s for a<br>
&gt; plot. Is there a list of standard practice to make plots faster?<br>
&gt;<br>
&gt;   Mathieu<br>
&gt;<br>
&gt; On Thu, Dec 11, 2014 at 7:13 AM, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Mathieu,<br>
&gt;&gt;<br>
&gt;&gt; What version of NCL are you running?<br>
&gt;&gt;<br>
&gt;&gt; ncl -V<br>
&gt;&gt;<br>
&gt;&gt; I was able to run your script just fine, but I changed cnFillMode from<br>
&gt;&gt; &quot;AreaFill&quot; to &quot;RasterFill&quot;. See attached png.<br>
&gt;&gt;<br>
&gt;&gt; --Mary<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 8, 2014 at 8:17 AM, Mathieu Dutour &lt;<a href="mailto:mathieu.dutour@gmail.com">mathieu.dutour@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Dear ncl users,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have some errors for some contour plots on unstructured<br>
&gt;&gt;&gt; grids (the script is in attachment and the relevant netcdf file<br>
&gt;&gt;&gt; is available from<br>
&gt;&gt;&gt; <a href="http://mathieudutour.altervista.org/Sending/test.nc" target="_blank">http://mathieudutour.altervista.org/Sending/test.nc</a>   )<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Below is exact error:<br>
&gt;&gt;&gt; fatal:ContourPlotPreDraw: ARSCAM/ARPRAM - ALGORITHM FAILURE<br>
&gt;&gt;&gt; fatal:ContourPlotDraw: draw error<br>
&gt;&gt;&gt; fatal:PlotManagerPreDraw: error in plot pre-draw<br>
&gt;&gt;&gt; fatal:_NhlPlotManagerDraw: PreDraw error<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I believe that the data is too irregular for the algorithm to plot it.<br>
&gt;&gt;&gt; But is there any way to alleviate this problem?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Secondly, the plots sometime takes extremely long time to be done.<br>
&gt;&gt;&gt; The mesh has only 110804 nodes which is nowhere near big. What<br>
&gt;&gt;&gt; would be possible to avoid that problem?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;   Mathieu<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; ncl-talk mailing list<br>
&gt;&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;<br>
</div></div></blockquote></div></div></div>