<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear Dave,</p>
<p><br>
</p>
<p>Inspired by your comment, &quot;<span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">Perhaps an issue with a missing value not
 being recognized properly?</span>&quot;, I cleared missing values in the input data (which was marked as &quot;-nan&quot;).</p>
<p>Then, I was able to remove the lines&nbsp;<span id="ms-rterangepaste-start"></span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;">(see
 attached image)</span><span id="ms-rterangepaste-end"></span>.</p>
<p>However, I am getting the warning messages still.</p>
<p><br>
</p>
<p></p>
<div>(0)<span class="Apple-tab-span" style="white-space:pre"> </span>gsn_add_cyclic: Warning: The range of your longitude data is not 360.</div>
<div>(0)<span class="Apple-tab-span" style="white-space:pre"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</div>
<div>(0)<span class="Apple-tab-span" style="white-space:pre"> </span>warning message from the spline function.</div>
<div>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</div>
<div>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</div>
<br>
<p></p>
<p><br>
</p>
<p>Thank you very much.</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Jinwoong&nbsp;</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> David Brown &lt;dbrown@ucar.edu&gt;<br>
<b>Sent:</b> Thursday, November 19, 2015 3:13 PM<br>
<b>To:</b> Jinwoong Yoo<br>
<b>Cc:</b> Alan Brammer; ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] Multiple Issues</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">The unwanted lines in your plot all seem to be pointing towards a single point. Perhaps an issue with a missing value not being recognized properly?
<div>It might help us diagnose the problem if you printed out summaries of the lat, lon, and data variables.&nbsp;</div>
<div>&nbsp;-dave</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Nov 19, 2015 at 1:35 PM, Jinwoong Yoo <span dir="ltr">
&lt;<a href="mailto:jinwoongyoo@unm.edu" target="_blank">jinwoongyoo@unm.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Thank you, Alan, for your comment.</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Jinwoong</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Alan Brammer &lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt;<br>
<b>Sent:</b> Thursday, November 19, 2015 1:29 PM<br>
<b>To:</b> Jinwoong Yoo<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] Multiple Issues</font>
<div>&nbsp;</div>
</div>
<div>
<div class="h5">
<div>Have you tried doing what the error suggests?
<div><br>
</div>
<div>
<blockquote type="cite">
<div style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div>(0)<span style="white-space:pre-wrap"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</div>
<div>(0)<span style="white-space:pre-wrap"> </span>warning message from the spline function.</div>
</div>
</blockquote>
<br>
</div>
<div>if your plotting resources are in a variable name res</div>
<div><br>
</div>
<div>res@gsnAddCyclic &nbsp;= False</div>
<div><br>
</div>
<div><br>
</div>
<div>Alan.&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On 19 Nov 2015, at 15:15, Jinwoong Yoo &lt;<a href="mailto:jinwoongyoo@unm.edu" target="_blank">jinwoongyoo@unm.edu</a>&gt; wrote:</div>
<br>
<div>
<div style="font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="margin-top:0px; margin-bottom:0px">Dear NCL users,</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">I am trying to plot an image following an example at&nbsp;<a href="https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png" title="https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png
Cmd&#43;Click or tap to follow the link" target="_blank">https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png.</a></div>
<div style="margin-top:0px; margin-bottom:0px"><img style="-webkit-user-select: none;" src="https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png"></div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">but I'm getting a few warnings and my result plot is not pretty enough (attached).</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">Warning messages are as below:</div>
<p style="margin-top:0px; margin-bottom:0px"><span></span></p>
<div>(0)<span style="white-space:pre-wrap"> </span>gsn_add_cyclic: Warning: The range of your longitude data is not 360.</div>
<div>(0)<span style="white-space:pre-wrap"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</div>
<div>(0)<span style="white-space:pre-wrap"> </span>warning message from the spline function.</div>
<div>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</div>
<div>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</div>
<span></span><br>
<p style="margin-top:0px; margin-bottom:0px"></p>
<p style="margin-top:0px; margin-bottom:0px"></p>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
</div>
<span>&lt;test_MPI.png&gt;</span><span style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; float:none; display:inline!important">_______________________________________________</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; float:none; display:inline!important">ncl-talk
 mailing list</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<a href="mailto:ncl-talk@ucar.edu" target="_blank" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">ncl-talk@ucar.edu</a><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; float:none; display:inline!important">List
 instructions, subscriber options, unsubscribe:</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<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>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>