<div dir="ltr"><div>I am getting the following errors when I tried to plot.</div><div><br></div><div>fatal:ContourPlotDraw: CPCLAM/AREDAM - UNABLE TO INSERT NODE INTO MAP</div><div>fatal:ContourPlotDraw: draw error</div><div>fatal:ContourPlotDraw: draw error</div><div>fatal:PlotManagerDraw: error in plot draw</div><div>fatal:_NhlPlotManagerDraw: Draw error</div><div><br></div><div>I found the possible reason from the Internet that it might be the problem from 'nan' values. I tried to solve this problem in two ways (<a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/isnan_ieee.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Built-in/isnan_ieee.shtml</a>, <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/replace_ieeenan.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Built-in/replace_ieeenan.shtml</a>). They did not work. What can I do?<div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018 at 11:00 AM Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>[1] You could look on the WWW for a <b>file</b> containing a TRMM 0.25 degree land-sea mask. Did you try?</div><div><br></div><div>[2] You could create your own mask. Did you look at the following? <br></div><div> <a href="http://www.ncl.ucar.edu/Applications/mask.shtml" target="_blank"><b>http://www.ncl.ucar.edu/Applications/mask.shtml</b></a><br></div><div><br></div><div> [a] Use shapefiles: Examples 12 & 13</div><div> [b] The attached script uses NCL builtin <b>1-deg</b> landsea mask. 3B42 is <b>0.25-deg.</b></div><div><b> [ </b>See<b> mask_5.ncl ]. </b>It produces that attached netCDF file and a sample plot.</div><div><br></div><div>Do not respond to me. ncl-talk only<br> </div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018 at 5:01 AM Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com" target="_blank">dmjalal90@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I understood your answer; however, I want to know more about it. Which data is only applicable for masking function in NCL? I am using TRMM 3B42 data to mask precipitation over land. What should I do for TRMM data?</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018 at 5:45 PM Karin Meier-Fleischer <<a href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Jalal,<div><br></div><div>NCL told you that the variable ORO is not in your file, so take a look at your file and see what it contains. You can use ncl_filedump to do it. </div><div><br></div><div>-Karin<br><div dir="ltr"><div><span style="background-color:rgba(255,255,255,0)"><br></span></div></div><div dir="ltr"><br>Am 04.11.2018 um 05:24 schrieb Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com" target="_blank">dmjalal90@gmail.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">Hi all,</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New""><br></span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">I am getting the following error message when I tried to mask over land.</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New""><br></span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">fatal:["Execute.c":6394]:variable (ORO) is not in file (f)<br>
</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New""><br></span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">;;code</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">f= addfile("<a href="http://yearsum2000.nc" target="_blank">yearsum2000.nc</a>","r") <br> pre = f->pre<br> pre_reorder = pre(time|:,latitude|:,longitude|:) <br>;printVarSummary(pre_reorder)<br>
<br>
<br>oro = f->ORO(0,:,:) ;oro: orography data array (lat,lon). ; assumes that lat and lon are attached to oro as coordinates,. ; and oro has values ocean: 0, land: 1<br>
</span></p><div><br></div><div><br></div><div>;;printVarSummary(pre)</div><div><br></div><div><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">Variable: pre<br>Type: double<br>Total Size: 4608000 bytes<br> 576000 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [time | 1] x [longitude | 1440] x [latitude | 400]<br>Coordinates: <br> time: [911.75..911.75]<br> longitude: [-179.875..179.875]<br> latitude: [-49.875..49.875]<br>Number Of Attributes: 4<br> long_name : precipitation<br> units : mm<br> _FillValue : -nan<br> missing_value : -nan<br>
</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New""><br></span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New"">How can I solve this problem?</span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt;font-family:Consolas"><span style="font-family:"Courier New""><br></span></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt"><font face="Courier New">Best regards,</font></p><p class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt"><font face="Courier New">Jalal</font></p></div>-- <br><div dir="ltr" class="m_-1507345481403878476m_-6875207811600004744m_-267821341963878787gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>ncl-talk mailing list</span><br><span><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a></span><br><span>List instructions, subscriber options, unsubscribe:</span><br><span><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></span><br></div></blockquote></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-1507345481403878476m_-6875207811600004744gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<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>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>