<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">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_-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_-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_-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_-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_-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_-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_-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_-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_-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_-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_-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_-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_-267821341963878787gmail-MsoPlainText" style="margin:0in 0in 0.0001pt;font-size:10.5pt"><font face="Courier New">Best regards,</font></p><p class="m_-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_-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="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>