<div dir="ltr"><div class="gmail_default" style="font-size:small">If you simply mean how to fill your missing data values in black, then try:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">







<p class="gmail-p1"><span class="gmail-s1">  res@</span><span class="gmail-s2">cnMi</span><span class="gmail-s3">ssingValFillColor</span><span class="gmail-s1"> = </span><span class="gmail-s4">&quot;black&quot;</span></p><p class="gmail-p1">Your data_rain_integer variable must have _FillValue set to whatever the missing values are, in order for this to work.</p><p class="gmail-p1"><br></p><p class="gmail-p1">--Mary</p><p class="gmail-p1"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 15, 2017 at 2:18 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">Dear ncl-talk<div><br></div><div>I have some data like this:</div><div><div>about rain density 0.0 ~ 409.0 mm/h step 0.1 mm/h</div><div>integer number rain density</div><div>0 0.1 mm/h less then</div><div>1 0.1 mm/h</div><div>2 0.3 mm/h</div><div>  .</div><div>  .</div><div>4089 409.0 mm/h</div><div>4090 409.0 mm/h more then</div><div>4091 out of the obsevation region</div><div>4092 not observed</div><div><br></div><div>I define rain density in this way:</div><div><div>    if data_rain_integer == 4090:</div><div>        rain_density = 500</div><div>    elif data_rain_integer == 4091:</div><div>        rain_density = -1000</div><div>    elif data_rain_integer == 4092:</div><div>        rain_density = -999</div><div>    else:</div><div>        rain_density = data_rain_integer*0.1</div></div><div><br></div><div>Do you know how to specify not observed data as black color when I plot rain density contour?</div><div><br></div><div>Yours sincerely,</div><div>Tao</div><div><br></div><div><br></div>-- <br><div class="m_5583181070411367092gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><span style="font-size:12.8px">******************************<wbr>************************</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">盧 涛 (ル タオ) </span><span style="font-family:arial,helvetica,sans-serif;font-size:small">修士課程2年</span><br style="font-size:12.8px"><p style="font-size:12.8px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">〒<span lang="EN-US">112-8551 </span>東京都文京区春日<span lang="EN-US">1-13-27</span></font></p><p style="font-size:12.8px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">中央大学理工学研究科都市環境学専攻</font></p><p style="font-size:12.8px;margin:0px"><font size="2" face="arial, helvetica, sans-serif">河川・水文<span lang="EN-US"><span lang="EN-US"><span lang="EN-US">研究</span></span><span lang="EN-US"><span lang="EN-US">室</span></span></span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">(山田正教授)</span></p></div><div style="font-size:12.8px"><p style="font-size:12.8px;margin:0px"><font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US"><br></span></font></p><p style="font-size:12.8px;margin:0px"><font size="2" face="arial, helvetica, sans-serif"><span lang="EN-US">TEL: 03-3817-3406;   </span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small">Phone: 070-2188-7509</span></p>Email1: <a href="mailto:mail%3Amet.yamos@gmail.com" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">hakufu.asano@gmail.com</a><br style="font-size:12.8px">Email2: <a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">lutao@civil.chuo-u.ac.<wbr>jp</a><br style="font-size:12.8px"><span style="font-size:12.8px">******************************<wbr>*************************</span></div><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 size="2" face="arial, helvetica, sans-serif"><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></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>