<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Dear Mary</div><div><br></div><div>Thank your for your kind reply and beautiful code file.</div><div><br></div><div>I couldn't overlay map and contour correctly.</div><div>Maybe I should choose gsn_csm_contour_map.</div><div><br></div><div>Thank you very much.</div><div>I will take care about attaching large file next time.</div><div><br></div><div>Yours sincerely,</div><div>Tao</div><div><br>El 17 ene 2017, a las 7:12, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; escribió:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Tao,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In the future, please be careful about including large attachments to emails that you send to ncl-talk.&nbsp; There are hundreds of users on this list and not everybody's mailers can handle these large files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm not sure what you mean by your question.&nbsp; Did you get a bad plot or an error message?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">A few issues that I see is that your "radar" data contains missing values, and in fact, it contains both -999 and -9999.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've included a new version of your script that is somewhat simplified.&nbsp; I wanted to be sure your data was plotting correctly. Here are some things I did:</div><div class="gmail_default"><ul><li>I read the data as floats instead of strings thinking this would make the data read faster, but it doesn't really.<br><br></li><li>I set a missing value for your radar data.<br><br></li><li>Instead of calling gsn_csm_map, gsn_csm_contour, and overlay, I just called gsn_csm_contour_map, but this is not necessary.<br><br></li><li>I drew the contours both as smoothed and raster contours, again, for debugging purposes.<br><br></li><li>I added markers (third plot) to show where the data is &gt;= 0.1, just for debugging purposes.<br></li></ul>As far as I can tell, the radar data seems to be plotting correctly.<br></div><div class="gmail_default"><br></div><div class="gmail_default">Are you getting different results?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 4:40 AM, Tao Lu <span dir="ltr">&lt;<a href="mailto:hakufu.asano@gmail.com" target="_blank">hakufu.asano@gmail.com</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 class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/0B0Z21rDssktmaDRWeXp1YVJtbEU/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png">&nbsp;<span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">crain_composite_2015.09.09.<wbr>00.00_UTC</span></a><img src="cid:" style="display:none;opacity:0.55;float:right"></div>​Dear ncl-talk<div><br></div><div>As the title said, please help me find out why I can't overlay a contour on a map.</div><div><br></div><div>I attached the script and data needed.</div><div><br></div><div>Please help me.</div><div><br></div><div>Tao<br clear="all"><div><br></div>--&nbsp;<div class="m_7931901939015949417gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8000001907349px"><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 &nbsp; &nbsp;(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">&nbsp;</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:&nbsp;</span>03-3817-1805<font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US">; &nbsp;&nbsp;</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:&nbsp;</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:&nbsp;</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>______________________________<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>
</div></blockquote><blockquote type="cite"><div>&lt;test_complex.000003.png&gt;</div></blockquote><blockquote type="cite"><div>&lt;test_complex.000002.png&gt;</div></blockquote><blockquote type="cite"><div>&lt;test_complex.000001.png&gt;</div></blockquote><blockquote type="cite"><div>&lt;simple_plot.ncl&gt;</div></blockquote></body></html>