<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    what about<br>
    <br>
    <font color="#3333ff"><tt>if(all(ismissing(ratio_hr))) then</tt><tt><br>
      </tt><tt>   continue</tt><tt><br>
      </tt><tt>end if</tt></font><br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 10.01.20 um 09:17 schrieb Barry Lynn
      via ncl-talk:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN7Bv26nEwJVA0xV4VKfqANPKEhwVcFYTZpOJ7jhx3=4D=74Yw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi:<br>
        <div><br>
        </div>
        <div>I will give it a try.</div>
        <div><br>
        </div>
        <div>In the meantime, I am wondering why you suggest the ne,
          rather than the equal to with a continue and an else?</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Jan 10, 2020 at 9:52
          AM Beáta Szabó-Takács <<a
            href="mailto:szabo.b@czechglobe.cz" moz-do-not-send="true">szabo.b@czechglobe.cz</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 lang="HU">
            <div class="gmail-m_7203998850005533117WordSection1">
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Dear
                  Barry,</span></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></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">if(max(<a class="moz-txt-link-abbreviated" href="mailto:ratio_hr).ne.ratio_hr@_FillValue.and">ratio_hr).ne.ratio_hr@_FillValue.and</a>.
                  min(ratio_hr).ne.ratio_hr@_FillValue)then</span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">statement(s)</span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">end
                  if</span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></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></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Kind
                  regards,</span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Beata</span></p>
              <p class="MsoNormal"><span
style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></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" moz-do-not-send="true">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"
                    moz-do-not-send="true">ncl-talk@ucar.edu</a>><br>
                  <b>Subject:</b> [ncl-talk] If statements and
                  Fill_Values</span></p>
              <p class="MsoNormal"> </p>
              <div>
                <p class="MsoNormal"><span
                    style="font-family:Georgia,serif">Hi:</span></p>
                <div>
                  <p class="MsoNormal"> </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></p>
                </div>
                <div>
                  <p class="MsoNormal"> </p>
                </div>
                <div>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">min=9.96921e+36
                      </span></span><span
                      class="gmail-m_7203998850005533117gmail-apple-converted-space"><span
                        style="font-family:Georgia,serif;color:black"> 
                      </span></span><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">max=9.96921e+36</span></span><span
                      style="color:black"></span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
                      style="color:black"> </span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">However,
                        I get this error, even though my if statement is
                        checking this.</span></span><span
                      style="color:black"></span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
                      style="color:black"> </span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">fatal:The
                        result of the conditional expression yields a
                        missing value. NCL can not determine branch, see
                        ismissing function</span></span><span
                      style="color:black"></span></p>
                </div>
                <div>
                  <p class="MsoNormal"> </p>
                </div>
                <div>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
class="gmail-m_7203998850005533117gmail-apple-converted-space"><span
                        style="font-family:Georgia,serif;color:black">  </span></span><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">if
                        (max(ratio_hr)<a
href="mailto:.eq.ratio_hr@_FillValue.and.min(ratio_hr).eq.ratio_hr@_FillValue)then"
                          target="_blank" moz-do-not-send="true">.eq.ratio_hr@_FillValue.and.min(ratio_hr).eq.ratio_hr@_FillValue)then</a></span></span><span
                      style="color:black"></span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
class="gmail-m_7203998850005533117gmail-apple-converted-space"><span
                        style="font-family:Georgia,serif;color:black">  
                      </span></span><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">continue</span></span><span
                      style="color:black"></span></p>
                  <p class="gmail-m_7203998850005533117gmail-p1"
                    style="margin:0cm 0cm
0.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal"><span
class="gmail-m_7203998850005533117gmail-apple-converted-space"><span
                        style="font-family:Georgia,serif;color:black"> 
                      </span></span><span
                      class="gmail-m_7203998850005533117gmail-s1"><span
                        style="font-family:Georgia,serif;color:black">else</span></span><span
                      style="color:black"></span></p>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:Georgia,serif">Is there
                        someway around this?</span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span
                        style="font-family:Georgia,serif">Thank you</span></p>
                  </div>
                  <p class="MsoNormal">-- </p>
                  <div>
                    <div>
                      <div>
                        <div>
                          <p class="MsoNormal">Barry H. Lynn, Ph.D</p>
                          <div>
                            <div>
                              <p class="MsoNormal">Senior Associate
                                Scientist, Lecturer,</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></p>
                              </div>
                              <p class="MsoNormal"><span
                                  style="color:rgb(136,136,136)">Tel:
                                  972 547 231 170<br>
                                  Fax: (972)-25662581</span></p>
                            </div>
                          </div>
                          <div>
                            <p class="MsoNormal"> </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" moz-do-not-send="true">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</p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </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"
                  moz-do-not-send="true">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
    </blockquote>
    <br>
  </body>
</html>