<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Tracey:<br>
    <br>
    Try taking out the parentheses () and see if it works.<br>
    <br>
    Bill<br>
    <pre class="moz-signature" cols="72">--

Bill Reilly

(+34) 686-110-748

<a class="moz-txt-link-abbreviated" href="mailto:bill@passageweather.com">bill@passageweather.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.passageweather.com">www.passageweather.com</a>

<a class="moz-txt-link-abbreviated" href="mailto:bill@brwebworks.com">bill@brwebworks.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.brwebworks.com">www.brwebworks.com</a> 

</pre>
    <div class="moz-cite-prefix">On 26/11/2018 20:18, Tracey wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEKv=FyHv4BtdGcNU6O0VFuJQjsbEE51RnOuwyQ9c+KJKmoV7w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000">Hi Jeff,</font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000"><br>
            </font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000">The input string is being read
              into the script correctly, as I've put a "</font><font
              face="arial, helvetica, sans-serif" color="#000000">say
              region" into the script right before the if statement and
              it is correctly outputting "conus."  So it seems to be the
              actual if statement that is not working for some reason.</font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000"><br>
            </font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000">Thanks,</font></div>
          <div class="gmail_default"><font face="arial, helvetica,
              sans-serif" color="#000000">Tracey</font></div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, Nov 26, 2018 at 2:03 PM Jeff Duda <<a
            href="mailto:jeffduda319@gmail.com" moz-do-not-send="true">jeffduda319@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">First test whether the input string is being
            read into the script correctly. Then check to see if the if
            block is being tripped by inserting print statements.
            <div><br>
            </div>
            <div>Jeff Duda</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr">On Mon, Nov 26, 2018 at 11:56 AM Tracey <<a
                href="mailto:tdorian10@gmail.com" target="_blank"
                moz-do-not-send="true">tdorian10@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">
                <div class="gmail_default" style="font-family:times new
                  roman,serif;font-size:large">
                  <div class="gmail_default"
                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"><font
                      face="arial, helvetica, sans-serif">Hi,</font></div>
                  <div class="gmail_default"
                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br>
                  </div>
                  <div class="gmail_default"
                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"><font
                      face="arial, helvetica, sans-serif">I was
                      wondering if any GrADS users could help me with
                      this issue I am having.  </font><span
                      style="font-family:arial,helvetica,sans-serif">In
                      my GrADS script, I have:</span></div>
                  <div class="gmail_default"
                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"><font
                      face="arial, helvetica, sans-serif"><br>
                    </font></div>
                  <div class="gmail_default"
                    style="font-family:Arial,Helvetica,sans-serif;font-size:small"><font
                      face="arial, helvetica, sans-serif">
                      <div class="gmail_default">if (region ='conus')</div>
                      <div class="gmail_default">  'set lat 25 58'</div>
                      <div class="gmail_default">  'set lon 230 297'</div>
                      <div class="gmail_default">endif</div>
                      <div><br>
                      </div>
                      <div>But the above lines are not working.  When I
                        run the GrADS script, I input a "region" as an
                        argument.  I want to say if the region is
                        "conus", then set the longitudes and latitudes
                        to these set numbers.  No matter how I change
                        the quotations and the spaces, it doesn't seem
                        to be re-setting the latitudes and longitudes. 
                        What am I doing wrong?  </div>
                      <div><br>
                      </div>
                      <div>Thank you,</div>
                      <div>Tracey</div>
                    </font></div>
                </div>
              </div>
              _______________________________________________<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>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="m_1855870370453814240gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr"><font size="2"><span>Jeff Duda,
                              Research Scientist</span></font></div>
                        <div dir="ltr"><font size="2"><span></span></font>University
                          of Colorado Boulder</div>
                        <div dir="ltr"><font size="2"><span></span></font>Cooperative
                          Institute for Research in Environmental
                          Sciences</div>
                        <div dir="ltr">NOAA/OAR/ESRL/Global Systems
                          Division<br>
                          <font size="2"><span>
                              <span>Boulder, CO<br>
                              </span></span></font>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>