<div dir="ltr"><div class="gmail_default" style="font-size:small">A minor correction: it is not enough to simply zoom in on the data with the mpMinMaxLat/LonF resources. Even when you zoom in on the map this way, NCL will still try to contour whatever part of the data array you passed in.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Setting these four resources is still a good idea, because this way you only see the region that you're interested in</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The example you referred to shows how to subset the data for the lat/lon region you're interseted in, but perhaps you need to subset it more.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">One other issue might be that you need to set gsnAddCyclic to False:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"> res@gsnAddCyclic = False</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you continue to have problems, then it would help if we could see your script. It would also help to see the output from doing a "printVarSummary" on your data.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 9, 2016 at 10:21 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.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">For historical reasons,the default for gsn_csm_contour_map function assumes the input array is global. This means the longitudes are cyclic. Your data are regional. Try<br><div><pre> res@gsnAddCyclic = False ; default is True
res@mpMinLatF = 22.5 ; min(lat)
res@mpMaxLatF = 47.6 ; max(lat)
res@mpMinLonF = 120.0 ; min(lat)
res@mpMaxLonF = 149.875 ; max(lat)</pre>===<br></div><div>Please look at examples: <a href="http://www.ncl.ucar.edu/Applications/" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/</a><br></div><div>See Cylindrical equidistant<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Nov 9, 2016 at 9:53 PM, Tao Lu <span dir="ltr"><<a href="mailto:hakufu.asano@gmail.com" target="_blank">hakufu.asano@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello ncl-talk<div><br></div><div>I am referring to the SplineWarning in ncl homepage: <a href="http://www.ncl.ucar.edu/Document/Language/error_messages.shtml#SplineWarning" target="_blank">http://www.ncl.ucar.<wbr>edu/Document/Language/error_me<wbr>ssages.shtml#SplineWarning</a></div><div>I copy the contents and run as an example and found this did not solve the problem.</div><div><br></div><div>Is there any new advice about this error?</div><div><br></div><div>--------------------- first plot ------------------------------<wbr>------------------------------<wbr>-------------------</div><div><br></div><div><img src="cid:ii_1584c93eceb7fb11" alt="Inline image 1" height="225" width="493"><br></div><div>--------------------second plot--------------------------<wbr>------------------------------<wbr>---------------------</div><div><img src="cid:ii_1584c945eabece8c" alt="Inline image 2" height="241" width="493"><br></div><div><div><br></div>-- <div class="m_-7975971771155237843m_-7603166722926178093gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial"><wbr>************************</span><br></div><div><span style="font-size:small;font-family:arial">Tao Lu (M. Eng)</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Laboratory of River Engineering and Hydrology,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Dept. of Civil and Environmental Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-family:arial,helvetica,sans-serif;font-size:12.8px">Graduate School of Science and Engineering,</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">Chuo University</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial"> </span><br style="font-family:arial;font-size:small">1-13-27<span style="font-size:small;font-family:arial">,Kasuga,Bunkyo-ku,Tokyo</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">112-8551, Japan</span><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">TEL: </span>03-3817-1805<font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US">; </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span><br style="font-family:arial;font-size:small"><span style="font-size:12.8px">Email1: </span><a href="mailto:mail%3Amet.yamos@gmail.com" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8px"><span style="font-size:12.8px">Email2: </span><a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="font-size:12.8px;color:rgb(17,85,204)" target="_blank">lutao@civil.chuo-u.ac.<wbr>jp</a><br style="font-family:arial;font-size:small"><span style="font-size:small;font-family:arial">******************************</span><span style="font-size:small;font-family:arial"><wbr>*********************</span><span style="font-size:12.8px"><br></span></div></div></div></div></div></div></div></div>
</div></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>