<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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>I am glad that I'm getting closer.</p>
<p>Actually, the line, <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;">res2@gsnAddCyclic = False , is existing already
in my code.</span></p>
<p><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;">That's why I am troubled with the warnings.
<img class="EmojiInsert" alt="😊" style="vertical-align:bottom" src="cid:20163b6e-9215-4f08-ba1b-81e322091334"></span></p>
<p><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;">Thank you.</span></p>
<p><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;"><br>
</span></p>
<p>Regards,</p>
<p><br>
</p>
<p>Jinwoong</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> David Brown <dbrown@ucar.edu><br>
<b>Sent:</b> Thursday, November 19, 2015 4:05 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> </div>
</div>
<div>
<div dir="ltr">Well your plot looks a lot better now.
<div><br>
</div>
<div>If you are using climo_1.ncl as a template, then notice that there are two contour plots drawn with one overlaid on the other. They use different resource variables: res and res2. I think you need to set gsnAddCyclic to False for both of these variables.
In other words, add the line</div>
<div><br>
<div>res2@gsnAddCyclic = False</div>
<div><br>
</div>
<div>in the appropriate location and hopefully the error messages will go away.</div>
</div>
<div> -dave</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Nov 19, 2015 at 3:47 PM, Jinwoong Yoo <span dir="ltr">
<<a href="mailto:jinwoongyoo@unm.edu" target="_blank">jinwoongyoo@unm.edu</a>></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>Dear Dave,</p>
<p><br>
</p>
<p>Inspired by your comment, "<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>", I cleared missing values in the input data (which was marked as "-nan").</p>
<p>Then, I was able to remove the lines <span></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></span>.</p>
<p>However, I am getting the warning messages still.</p>
<span class="">
<p><br>
</p>
<p></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>
<br>
<p></p>
<p><br>
</p>
</span>
<p>Thank you very much.</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> David Brown <<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>><br>
<b>Sent:</b> Thursday, November 19, 2015 3:13 PM<br>
<b>To:</b> Jinwoong Yoo<br>
<b>Cc:</b> Alan Brammer; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
<div>
<div class="h5"><br>
<b>Subject:</b> Re: [ncl-talk] Multiple Issues</div>
</div>
</font>
<div> </div>
</div>
<div>
<div class="h5">
<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. </div>
<div> -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">
<<a href="mailto:jinwoongyoo@unm.edu" target="_blank">jinwoongyoo@unm.edu</a>></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 <<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>><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> </div>
</div>
<div>
<div>
<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 = False</div>
<div><br>
</div>
<div><br>
</div>
<div>Alan. </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 <<a href="mailto:jinwoongyoo@unm.edu" target="_blank">jinwoongyoo@unm.edu</a>> 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 <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+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><test_MPI.png></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" target="_blank">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>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>