<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>Thank you, Dave, for your reply.</p>
<p><br>
</p>
<p>Data that I'm plotting is difAve which is overlaid by prob.</p>
<p><br>
</p>
<p></p>
<div>Variable: difAve</div>
<div>Type: double</div>
<div>Total Size: 4629312 bytes</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 578664 values</div>
<div>Number of Dimensions: 3</div>
<div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>
[lat | 171] x [lon | 282] x [month | 12]</div>
<div>Coordinates:&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-13.06634..47.43503]</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [94.46107..205.5389]</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; month: [0..11]</div>
<div>Number Of Attributes: 2</div>
<div>&nbsp; units :<span class="Apple-tab-span" style="white-space:pre"> </span>m/s</div>
<div>&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre"> </span>LGM-Modern</div>
<br>
<p></p>
<p></p>
<div>Variable: prob</div>
<div>Type: double</div>
<div>Total Size: 4629312 bytes</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 578664 values</div>
<div>Number of Dimensions: 3</div>
<div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>
[lat | 171] x [lon | 282] x [month | 12]</div>
<div>Coordinates:&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-13.06634..47.43503]</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [94.46107..205.5389]</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; month: [0..11]</div>
<div>Number Of Attributes: 2</div>
<div>&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre"> </span>Probability: difference between means</div>
<div>&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre"> </span>9.969209968386869e&#43;36</div>
<br>
<p></p>
<p><br>
</p>
<p><br>
</p>
<p>Summaries for&nbsp;lat and lon are as below:</p>
<div>Variable: lat</div>
<div>Type: float</div>
<div>Total Size: 684 bytes</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 171 values</div>
<div>Number of Dimensions: 1</div>
<div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>
[south_north | 171]</div>
<div>Coordinates:&nbsp;</div>
<div>Number Of Attributes: 7</div>
<div>&nbsp; cell_methods :<span class="Apple-tab-span" style="white-space:pre"> </span>
time: mean</div>
<div>&nbsp; FieldType :<span class="Apple-tab-span" style="white-space:pre"> </span>104</div>
<div>&nbsp; MemoryOrder :<span class="Apple-tab-span" style="white-space:pre"> </span>
XY&nbsp;</div>
<div>&nbsp; description :<span class="Apple-tab-span" style="white-space:pre"> </span>
LATITUDE, SOUTH IS NEGATIVE</div>
<div>&nbsp; units :<span class="Apple-tab-span" style="white-space:pre"> </span>degrees_north</div>
<div>&nbsp; stagger :<span class="Apple-tab-span" style="white-space:pre"> </span></div>
<div>&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre"> </span>9.96921e&#43;36</div>
<div><br>
</div>
<div>Variable: lon</div>
<div>Type: float</div>
<div>Total Size: 1128 bytes</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 282 values</div>
<div>Number of Dimensions: 1</div>
<div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre"> </span>
[south_north | 282]</div>
<div>Coordinates:&nbsp;</div>
<div>Number Of Attributes: 7</div>
<div>&nbsp; cell_methods :<span class="Apple-tab-span" style="white-space:pre"> </span>
time: mean</div>
<div>&nbsp; FieldType :<span class="Apple-tab-span" style="white-space:pre"> </span>104</div>
<div>&nbsp; MemoryOrder :<span class="Apple-tab-span" style="white-space:pre"> </span>
XY&nbsp;</div>
<div>&nbsp; description :<span class="Apple-tab-span" style="white-space:pre"> </span>
LONGITUDE, WEST IS NEGATIVE</div>
<div>&nbsp; units :<span class="Apple-tab-span" style="white-space:pre"> </span>degrees_east</div>
<div>&nbsp; stagger :<span class="Apple-tab-span" style="white-space:pre"> </span></div>
<div>&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre"> </span>9.96921e&#43;36</div>
<div><br>
</div>
<div><br>
</div>
Thank you very much!
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Jinwoong<br>
<div><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 &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>
</div>
</div>
</body>
</html>