<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Arial">Hi Jennifer, </font><br>
    <br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <div style="display: inline-block;" id="gt-input-tool">
      <div id="itamenu"><font face="Arial"><span
            class="ita-kd-inputtools-div"></span></font></div>
    </div>
    <div id="gt-src-c" class="g-unit">
      <div id="gt-src-p"> </div>
    </div>
    <font face="Arial"> </font>
    <div id="gt-res-c" class="g-unit">
      <div id="gt-res-p">
        <div id="gt-res-data">
          <div id="gt-res-wrap">
            <div id="gt-res-content" class="almost_half_cell">
              <div dir="ltr" style="zoom:1">
                <div id="tts_button"><font face="Arial"><object
                      type="application/x-shockwave-flash"
                      data="//ssl.gstatic.com/translate/sound_player2.swf"
                      id="tts" height="18" width="18"></object></font></div>
                <font face="Arial"><span id="result_box"
                    class="short_text" lang="en"><span class="hps">Thanks
                      for your answer</span></span></font></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <font face="Arial"><span id="result_box" class="short_text"
        lang="en"><span class="hps">I think</span> <span class="hps">I</span>
        <span class="hps">messed</span><span class="hps">..</span> <span
          class="hps">now I don´t</span> <span class="hps">work well..</span></span></font><br>
    <font face="Arial"><span id="result_box" class="short_text"
        lang="en"><span class="hps">
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          <span id="result_box" class="short_text" lang="en"><span
              class="hps">Attached my</span> <span class="hps">configuration</span>
            <span class="hps">and the result</span></span></span></span></font><br>
    <font face="Arial"><span id="result_box" class="short_text"
        lang="en"><span class="hps"><span id="result_box"
            class="short_text" lang="en"><span class="hps"></span></span></span></span></font><br>
    <font face="Arial"><span id="result_box" class="short_text"
        lang="en"><span class="hps"><span id="result_box"
            class="short_text" lang="en"><span class="hps"></span></span>Leopoldo</span></span></font><br>
    <font face="Arial"><span id="result_box" class="short_text"
        lang="en"><span class="hps"></span></span></font><font
      face="Arial"><br>
      - - - - - - - - - - - - - - - - - - -<br>
      - - - - - - - - - - - - - - - - - - -<br>
      'open 10M.ctl'<br>
      <br>
      'set lon  -84.926257'<br>
      'set lat  10.430741'<br>
      <br>
      # 0.9900545 -&gt; 80 m<br>
      #'set lev 0.99199'<br>
      # 0.9888191 -&gt; 90 m<br>
      'set lev 0.98818'<br>
      <br>
      timeend = 20<br>
      i = 1<br>
      while(i &lt;= timeend)<br>
      'set t 'i''<br>
      'q time'<br>
      timeyr = substr(result, 16, 4)<br>
      timemo = substr(result, 13, 3)<br>
      timedy = substr(result, 11, 2)<br>
      timehr = substr(result, 8, 3)<br>
      timemi = substr(result, 8, 5)<br>
      <br>
      #velocidad viento<br>
      'tg1=mag(u,v)'<br>
      'd tg1'<br>
      a.nr1 = subwrd(result,4)<br>
      <br>
      val = timeyr%"-"%timemo%"-"%timedy"-"%timehr"-"%timemi" "%a.nr1<br>
      rec = write('10M_90v.txt',val, append)<br>
      i = i + 1<br>
      endwhile</font><br>
    <font face="Arial"><font face="Arial">- - - - - - - - - - - - - - -
        - - - -<br>
        - - - - - - - - - - - - - - - - - - -</font><br>
      <br>
    </font><br>
    <font face="Arial"><font face="Arial">- - - - - - - - - - - - - - -
        - - - -<br>
        - - - - - - - - - - - - - - - - - - -<br>
      </font>2010-JAN-01-00Z-00Z01 9.12851<br>
      JAN2-Z01-10-00:-00:10 11.1242<br>
      JAN2-Z01-20-00:-00:20 13.8066<br>
      JAN2-Z01-30-00:-00:30 15.007<br>
      JAN2-Z01-40-00:-00:40 15.7414<br>
      JAN2-Z01-50-00:-00:50 16.2283<br>
      2010-JAN-01-01Z-01Z01 17.4028<br>
      JAN2-Z01-10-01:-01:10 18.1816<br>
      JAN2-Z01-20-01:-01:20 19.0074<br>
      JAN2-Z01-30-01:-01:30 20.133<br>
      JAN2-Z01-40-01:-01:40 20.5452<br>
      JAN2-Z01-50-01:-01:50 20.6561<br>
      2010-JAN-01-02Z-02Z01 20.4902<br>
      JAN2-Z01-10-02:-02:10 19.8622<br>
      JAN2-Z01-20-02:-02:20 19.2732<br>
      JAN2-Z01-30-02:-02:30 18.8075<br>
      JAN2-Z01-40-02:-02:40 18.5281<br>
      JAN2-Z01-50-02:-02:50 18.3364<br>
      2010-JAN-01-03Z-03Z01 18.2838<br>
      JAN2-Z01-10-03:-03:10 18.353</font><br>
    <font face="Arial"><font face="Arial">- - - - - - - - - - - - - - -
        - - - -<br>
        - - - - - - - - - - - - - - - - - - -</font><br>
      <br>
      <br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">El 22/5/15 a las 17:05, Leopoldo
      Alvarez escribió:<br>
    </div>
    <blockquote cite="mid:555F53C6.6060405@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <font face="Arial">Hi GrADS user,</font><br>
      <div class="moz-forward-container"> <br>
        <font face="Arial">I use GrADS 2.0.2 version.</font><br>
        <font face="Arial"><span id="result_box" class="" lang="en"><span
              class="hps">I am using the</span> <span class="hps">MM5</span><span>
              model output and</span> <span class="hps">I have</span> <span
              class="hps"></span></span><span id="result_box" class=""
            lang="en"><span class="hps"><span id="result_box" class=""
                lang="en"><span class="hps">every 10 minutes </span></span>outputs</span>
            <span class="hps">data</span>...</span></font><br>
        <font face="Arial"><span id="result_box" class="short_text"
            lang="en"><span class="hps">C</span><span class="hps">an</span>
            i <span class="hps">save data</span> <span class="hps">every

              10 minutes in text file</span><span class="">?</span></span>..


          <span id="result_box" class="short_text" lang="en"><span
              class="hps">in my</span> <span class="hps">script</span>
            <span class="hps">I could only</span> <span class="hps">save</span>
            <span class="hps">the hourly data</span></span><span
            id="result_box" class="" lang="en"><span class="hps">..</span></span></font><br>
        <font face="Arial"><span id="result_box" class="" lang="en"><span
              class="hps">I</span> <span class="hps">am using this</span>
            <span class="hps">script</span> <span class="hps">to create</span>
            <span class="hps">a text file</span> <span class="hps">with
              the data</span></span> -&gt;</font><br>
        <font face="Arial"> </font>
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <div style="display: inline-block;" id="gt-input-tool">
          <div id="itamenu"><font face="Arial"><span
                class="ita-kd-inputtools-div"></span></font></div>
        </div>
        <div id="gt-src-c" class="g-unit">
          <div id="gt-src-p"><font face="Arial"><span id="result_box"
                class="short_text" lang="en"><span class="hps"></span></span><br>
            </font></div>
        </div>
        <font face="Arial">***************</font><br>
        <font face="Arial">***************</font><br>
        <font face="Arial">'set lon -100.1829'</font><br>
        <font face="Arial">'set lat 54.6518'</font><br>
        <font face="Arial">'set lev 0.99199'</font><br>
        <br>
        <font face="Arial">timeend = 5000</font><br>
        <font face="Arial">i = 1</font><br>
        <font face="Arial">while(i &lt;= timeend)</font><br>
        <font face="Arial">'set t 'i''</font><br>
        <font face="Arial">'q time'</font><br>
        <font face="Arial">timehr = substr(result, 8, 3)</font><br>
        <font face="Arial">timedy = substr(result, 11, 2)</font><br>
        <font face="Arial">timemo = substr(result, 13, 3)</font><br>
        <font face="Arial">timeyr = substr(result, 16, 4)</font><br>
        <br>
        <font face="Arial">#velocidad viento</font><br>
        <font face="Arial">'tg1=mag(u,v)'</font><br>
        <font face="Arial">'d tg1'</font><br>
        <font face="Arial">a.nr1 = subwrd(result,4)</font><br>
        <br>
        <font face="Arial">val = timeyr%"-"%timemo%"-"%timedy"-"%timehr"
          "%a.nr1</font><br>
        <font face="Arial">rec = write('sequoya_80v.txt',val, append)</font><br>
        <font face="Arial">i = i + 1</font><br>
        <font face="Arial">endwhile</font><br>
        <font face="Arial">*******************</font><br>
        <font face="Arial">*******************</font><br>
        <br>
        <font face="Arial">Thanks</font>,<br>
        <br>
        <font face="Arial">Leopoldo ÁLVAREZ</font><br>
        <font face="Arial">Tenerife - Canary Islands</font><br>
        <br>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>