<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:10pt;color:#2672EC;background-color:#FFFFFF;font-family:Arial,Helvetica,sans-serif;">
<p></p>
<div tabindex="0" style="" id="Item.MessageUniqueBody" class="_rp_I4 ms-font-weight-regular ms-font-color-neutralDark rpHighlightAllClass rpHighlightBodyClass">
<div>
<div>
<div id="divtagdefaultwrapper" style="background-color:white;"><font face="Arial,Helvetica,sans-serif" color="#2672EC" size="2"><span style="font-size:10pt;background-color:white;" id="divtagdefaultwrapper">
<div style="margin-top:0;margin-bottom:0;">Hi All,</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">The text file is attached here along with script. Please suggest what to do next.</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">Regards</div>
<div style="margin-top:0;margin-bottom:0;">Amit<br>
</div>
</span></font></div>
</div>
</div>
</div>
<span class="PersonaPaneLauncher">
<div tabindex="0" class="_pe_d _pe_X1"></div>
</span><br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Guido Cioni &lt;guidocioni@gmail.com&gt;<br>
<b>Sent:</b> Wednesday, September 7, 2016 6:16:54 PM<br>
<b>To:</b> Amit Kumar<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] Issue with ploting of irregular txt/nc file</font>
<div>&nbsp;</div>
</div>
<div>Post the text file that you are using here, if is not too big. Otherwise use the FTP and I will take a look
<div class=""><br class="">
</div>
<div class=""><a href="http://www.ncl.ucar.edu/report_bug.shtml" class="">http://www.ncl.ucar.edu/report_bug.shtml</a><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="Apple-interchange-newline">
Guido Cioni</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://guidocioni.altervista.org" class="">http://guidocioni.altervista.org</a>&nbsp;</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 07 Sep 2016, at 12:34, Amit Kumar &lt;<a href="mailto:amitkumar.777@hotmail.com" class="">amitkumar.777@hotmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" style="font-size: 10pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(38, 114, 236); background-color: rgb(255, 255, 255); font-family: Arial, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi All,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I performed the test, and i've triangle package inbuilt in ncl &amp; I'm using<span class="Apple-converted-space">&nbsp;</span><span class="">NCAR Command Language Version 6.3.0</span>.<br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(75, 165, 36);" class="">$nm /usr/share/ncarg/bin/ncl | grep triangle</span></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div class=""><span style="color: rgb(75, 165, 36);" class="">09609c95 t _cairo_traps_tessellate_triangle</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">096a6696 t convert_triangles</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">0a0aac00 D icostriangles</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">09508dbf t isea_triangle_xy</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087d14e2 T maketriangle</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">096a67ae T pixman_add_triangles</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">096a6723 T pixman_composite_triangles</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087cff93 T printtriangle</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087ed848 T splittriangle</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087df1f9 T testtriangle</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087d1118 T triangledealloc</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087d1406 T triangledeinit</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087de152 T triangleinit</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">096a64b3 t triangle_to_trapezoids</span><br class="">
<span style="color: rgb(75, 165, 36);" class="">087d115a T triangletraverse</span><br class="">
</div>
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Any other suggestions.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Regards</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Amit<br class="">
</div>
</div>
<hr tabindex="-1" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline-block; width: 709.515625px;" class="">
<span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""></span>
<div id="divRplyFwdMsg" dir="ltr" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span>Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</a>&gt;<br class="">
<b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Wednesday, September 7, 2016 3:26:02 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>Amit Kumar<br class="">
<b class="">Cc:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
<b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [ncl-talk] Issue with ploting of irregular txt/nc file</font>
<div class="">&nbsp;</div>
</div>
<div style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Amit did you read the discussion that I posted yesterday?&nbsp;
<div class=""><br class="">
</div>
<div class=""><a href="http://mailman.ucar.edu/pipermail/ncl-talk/2015-November/004454.html" class="">http://mailman.ucar.edu/pipermail/ncl-talk/2015-November/004454.html</a></div>
<div class=""><br class="">
</div>
<div class="">It appears that you have a version of NCL built without the Triangle package. Follow the instructions on that link to troubleshoot this problem. You have to exclude any other reason before trying to fix the NCL script itself.</div>
<div class=""><br class="">
<div class="">
<div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
Guido Cioni</div>
<div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a href="http://guidocioni.altervista.org/" class="">http://guidocioni.altervista.org</a>&nbsp;</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 07 Sep 2016, at 11:29, Amit Kumar &lt;<a href="mailto:amitkumar.777@hotmail.com" class="">amitkumar.777@hotmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" class="" style="font-size: 10pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(38, 114, 236); background-color: rgb(255, 255, 255); font-family: Arial, Helvetica, sans-serif;">
<p class="" style="margin-top: 0px; margin-bottom: 0px;"><font face="Arial,Helvetica,sans-serif" color="#2672EC" size="2" class=""><span id="divtagdefaultwrapper" class="" style="font-size: 10pt; background-color: white;"></span></font></p>
<font face="Arial,Helvetica,sans-serif" color="#2672EC" size="2" class="">
<div class="" style="margin-top: 0px; margin-bottom: 0px;">Hi All,</div>
<div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class="">
</div>
<div class="" style="margin-top: 0px; margin-bottom: 0px;">After commenting those lines also I'm getting those errors:</div>
<div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class="">
</div>
<div class="" style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</div>
<div class=""><font color="red" class="">fatal:Cannot create triangular mesh: supply additional resources or build with Triangle package</font><br class="">
<font color="red" class="">fatal:ContourPlotDraw: draw error</font><br class="">
<font color="red" class="">fatal:ContourPlotDraw: draw error</font><br class="">
<font color="red" class="">fatal:ContourPlotDraw: draw error</font><br class="">
<font color="red" class="">fatal:PlotManagerDraw: error in plot draw</font><br class="">
<font color="red" class="">fatal:_NhlPlotManagerDraw: Draw error</font><br class="">
</div>
<br class="">
<div class="" style="margin-top: 0px; margin-bottom: 0px;">&nbsp;</div>
Please suggest what to do now. I'm attaching my data (text file) along with this which will be available after being evaluated by moderator.<br class="">
<br class="">
Regards<br class="">
Amit</font><br class="">
<p class="" style="margin-top: 0px; margin-bottom: 0px;"></p>
</div>
<hr tabindex="-1" class="" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline-block; width: 709.515625px;">
<span class="Apple-converted-space">&nbsp;</span><span class="" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"></span><span class="Apple-converted-space">&nbsp;</span>
<div id="divRplyFwdMsg" dir="ltr" class="" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<font face="Calibri, sans-serif" class="" style="font-size: 11pt;"><b class="">From:</b><span class="Apple-converted-space">&nbsp;</span>Guido Cioni &lt;<a href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</a>&gt;<br class="">
<b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Tuesday, September 6, 2016 6:42:14 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>Amit Kumar<br class="">
<b class="">Cc:</b><span class="Apple-converted-space">&nbsp;</span><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
<b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [ncl-talk] Issue with ploting of irregular txt/nc file</font>
<div class="">&nbsp;</div>
</div>
<div class="" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Before adding particular resources try with the minimum number needed to plot. I would suggest you to comment the following lines and try again:
<div class=""><br class="">
</div>
<div class=""><span class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">&nbsp; res@trGridType = &quot;TriangularMesh&quot;</span><br class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif;">
<span class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">&nbsp; res@cnRasterSmoothingOn = False&nbsp;</span></div>
<div class=""><span class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">&nbsp; res@mpOutlineOn&nbsp;&nbsp; = True&nbsp;</span><br class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif;">
<div class="">
<div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
Guido Cioni</div>
<div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<a href="http://guidocioni.altervista.org/" class="">http://guidocioni.altervista.org</a>&nbsp;</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 06 Sep 2016, at 14:25, Amit Kumar &lt;<a href="mailto:amitkumar.777@hotmail.com" class="">amitkumar.777@hotmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span class="" style="color: rgb(38, 114, 236); font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;">&nbsp;
 res@trGridType = &quot;TriangularMesh&quot;</span></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>