<div dir="ltr">Hi Rashed:<div><br></div><div>Thank you for your input (and to Beata).</div><div><br></div><div>I need to check all values; if some are not missing, then I want to execute the loop.</div><div><br></div><div>I will try the various suggestions and return.</div><div><br></div><div>Have a nice weekend,</div><div><br></div><div>Barry</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 10, 2020 at 12:09 PM Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com">rashidcomsis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I think there is some logical issue(s) in your if statements:</div><div>Issues:</div><div>1)  
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">if(CL(n).eq.CL@_FillValue)then ; This would not work because the "@_FillValue" attribute cannot be used inside if statements, I think. You can define a missing value variable before hand, e.g:</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif">missV = CL@_FillValue</span></span></div><div><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif">print(missV)</span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> <span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif">if(CL(n).eq.missV)then</span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif">...<br></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,0)">2)</span> 
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">if(all(ismissing(CL)))then : For this statement since you are asking "if ALL Values  of CL are missing which might not be the case since some values would be valid. <br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Does your variable CL has _FillValue attribute assigned? What is printVarSummary(CL) suggest?</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(0,0,255)"><b>The simplest statement would be( if CL has "_FillValue" attribute assigned to it)</b></span>:</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><b><span style="color:rgb(255,0,0)"></span></b></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><b><span style="color:rgb(255,0,0)">if(ismissing(CL(n)))then</span></b><br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  continue</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">else</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> ...</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">end if</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">hope that helps.</span></span></span></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span style="color:rgb(255,0,0)"><span style="font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Rashed<br></span>

</span></span>

</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> <br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span>

</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 10, 2020 at 1:21 AM Beáta Szabó-Takács via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div bgcolor="white" lang="HU">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Dear Karin and Barry,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I checked different ways to skip the _FillValues. Here is my brief script:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">begin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  input = addfile("NetCDF_2017_07_18.nc","r")<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  CL=input->cLayer1                                                        ;First cloud layer, its _FillValue is -9900<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  CL1 = new((/5400/), typeof(CL), 1e20)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  CL2 = new((/5400/), typeof(CL), 1e20)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  CL3 = new((/5400/), typeof(CL), 1e20)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">  CL4 = new((/5400/), typeof(CL), 1e20)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   do n=1,5399<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">             if(CL(n).eq.CL@_FillValue)then<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                  continue<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">             else<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                 CL1(n) = CL(n)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">              end if<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">            if(all(ismissing(CL)))then<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                   continue<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">           else<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                  CL2(n) = CL(n)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">           end if<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">            if(CL(n).ne.CL@_FillValue)then<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                  CL3(n) = CL(n)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">            end if<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">           if(.not.ismissing(CL(n)))then<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">                CL4(n) = CL(n)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">           end if<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   end do<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   print(CL1(1:500))<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   print(CL2(1:500))<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   print(CL3(1:500))<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">   print(CL4(1:500))<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">end<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Unfortunately, none of the if statements skip the _FillValues. I do not understand why.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Beata<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext" lang="EN-US"> ncl-talk [mailto:<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>]
<b>On Behalf Of </b>Karin Meier-Fleischer via ncl-talk<br>
<b>Sent:</b> Friday, January 10, 2020 9:26 AM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] If statements and Fill_Values<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt">Hi,<br>
<br>
what about<br>
<br>
<tt><span style="font-size:10pt;color:rgb(51,51,255)">if(all(ismissing(ratio_hr))) then</span></tt><span style="font-size:10pt;font-family:"Courier New";color:rgb(51,51,255)"><br>
<tt>   continue</tt><br>
<tt>end if</tt></span><br>
<br>
-Karin<u></u><u></u></p>
<div>
<p class="MsoNormal">Am 10.01.20 um 09:17 schrieb Barry Lynn via ncl-talk:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p class="MsoNormal">Hi:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I will give it a try.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In the meantime, I am wondering why you suggest the ne, rather than the equal to with a continue and an else?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Jan 10, 2020 at 9:52 AM Beáta Szabó-Takács <<a href="mailto:szabo.b@czechglobe.cz" target="_blank">szabo.b@czechglobe.cz</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Dear Barry,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The continue will proceed directly to the next iteration. Try to skip the _FillValues by:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">if(max(<a href="mailto:ratio_hr).ne.ratio_hr@_FillValue.and" target="_blank">ratio_hr).ne.ratio_hr@_FillValue.and</a>.
 min(ratio_hr)<a href="mailto:.ne.ratio_hr@_FillValue)then" target="_blank">.ne.ratio_hr@_FillValue)then</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">statement(s)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">end if</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I hope it solves your issue.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Kind regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Beata</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="EN-US"> ncl-talk
 [mailto:<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>]
<b>On Behalf Of </b>Barry Lynn via ncl-talk<br>
<b>Sent:</b> Friday, January 10, 2020 7:40 AM<br>
<b>To:</b> ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br>
<b>Subject:</b> [ncl-talk] If statements and Fill_Values</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Georgia,serif">Hi:</span><u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Georgia,serif">I am trying to skip a loop where all the numbers (min/max) are _FillValues.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif">min=9.96921e+36
</span></span><span><span style="font-family:Georgia,serif"> 
</span></span><span><span style="font-family:Georgia,serif">max=9.96921e+36</span></span><u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
 <u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif">However, I get this error, even though my if statement is checking this.</span></span><u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
 <u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif">fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function</span></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif">  </span></span><span><span style="font-family:Georgia,serif">if (max(ratio_hr)<a href="mailto:.eq.ratio_hr@_FillValue.and.min(ratio_hr).eq.ratio_hr@_FillValue)then" target="_blank">.eq.ratio_hr@_FillValue.and.min(ratio_hr).eq.ratio_hr@_FillValue)then</a></span></span><u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif">  
</span></span><span><span style="font-family:Georgia,serif">continue</span></span><u></u><u></u></p>
<p style="margin:0cm 0cm 0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span><span style="font-family:Georgia,serif"> 
</span></span><span><span style="font-family:Georgia,serif">else</span></span><u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Georgia,serif">Is there someway around this?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Georgia,serif">Thank you</span><u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Barry H. Lynn, Ph.D<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Senior Associate Scientist, Lecturer,<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(136,136,136)">The Institute of the Earth Science, <br>
The Hebrew University of Jerusalem, <br>
Givat Ram, Jerusalem 91904, Israel </span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="color:rgb(136,136,136)">Tel: 972 547 231 170<br>
Fax: (972)-25662581</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Barry H. Lynn, Ph.D <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Senior Associate Scientist, Lecturer,<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(136,136,136)">The Institute of the Earth Science, <br>
The Hebrew University of Jerusalem, <br>
Givat Ram, Jerusalem 91904, Israel </span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="color:rgb(136,136,136)">Tel: 972 547 231 170<br>
Fax: (972)-25662581</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>ncl-talk mailing list<u></u><u></u></pre>
<pre><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><u></u><u></u></pre>
<pre>List instructions, subscriber options, unsubscribe:<u></u><u></u></pre>
<pre><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal"><u></u> <u></u></p>
</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></blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>