<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Jeff and Stephen, will try to play with const/maskout
      first, then I will reinstall my Opengrads and try the if
      statement.</p>
    <p><br>
    </p>
    <p>Marian<br>
    </p>
    <div class="moz-cite-prefix">Dňa 14. 3. 2019 o 15:09 Stephen
      McMillan napísal(a):<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+exxN05iNx7LG7PDGKSz0MY5Utz37-8xhvSiT9Rwom1ADrrXg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Marian,
        <div><br>
        </div>
        <div>One correction to what I sent...</div>
        <div><br>
        </div>
        <div>'define A=if(dt>25,0,if(dt>=22,2,6))'     added the
          second )</div>
        <div><br>
        </div>
        <div>Stephen</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 10:06
          AM Stephen McMillan <<a
            href="mailto:smcmillan@planalytics.com"
            moz-do-not-send="true">smcmillan@planalytics.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">Marian,
            <div><br>
            </div>
            <div>If you have the latest version of GrADS or OpenGrADS,
              you could do something like this:</div>
            <div><br>
            </div>
            <div>'define dt=t850-t500'</div>
            <div>'define A=if(dt>25,0,if(dt>=22,2,6)'</div>
            <div>'d A'</div>
            <div><br>
            </div>
            <div>Stephen McMillan</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at
              4:14 PM AMS EmsiWx Bytča <<a
                href="mailto:emsiwx@pocasie-bytca.sk" target="_blank"
                moz-do-not-send="true">emsiwx@pocasie-bytca.sk</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">Dear all,<br>
              <br>
              <br>
              I am going crazy combining const/maskout to get what I
              need.<br>
              <br>
              I need to set A according the following:<br>
              <br>
              A= 0 when T850-T500 >25<br>
              <br>
              A= 2 when T850-T500 22-25<br>
              <br>
              A= 6 when T850-T500 <22<br>
              <br>
              <br>
              Would like to ask any master of const/maskout for help.<br>
              <br>
              <br>
              Thank you very much in advance.<br>
              <br>
              <br>
              Marian<br>
              <br>
              _______________________________________________<br>
              gradsusr mailing list<br>
              <a href="mailto:gradsusr@gradsusr.org" target="_blank"
                moz-do-not-send="true">gradsusr@gradsusr.org</a><br>
              <a href="http://gradsusr.org/mailman/listinfo/gradsusr"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">The information contained in this e-mail message </pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">is intended only for the use of the recipient(s) </pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">named above and may contain information that is </pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">privileged, confidential, and/or proprietary. </pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">If you are not the intended recipient, you may not</pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">review, copy or distribute this message. If you have</pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">received this communication in error, please notify </pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">the sender immediately by e-mail, and delete the original message.</pre>
      <pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
  </body>
</html>