<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Jeff,<br><br>I think you should define your tdef as something like that:<br><br>tdef 26 linear 00Z19may2013 1hr<br><br>once gribmap will skip the first 19 times, and template will treat your selected files correctly.<br><br>Hope this works,<br>Ricardo<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Jeff Duda" &lt;jeffduda319@gmail.com&gt;<br><b>Para: </b>"GrADS Users Forum" &lt;gradsusr@gradsusr.org&gt;<br><b>Enviadas: </b>Segunda-feira, 8 de Dezembro de 2014 19:04:39<br><b>Assunto: </b>Re: [gradsusr] help with templating<br><br><div dir="ltr">Yes.<br><div><br>tdef 8 linear 19Z19may2013 1hr<br><br><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 2:58 PM, James T. Potemra <span dir="ltr">&lt;<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    Jeff:<br>
    <br>
    How do you define time in your control.ctl file?&nbsp; Do you define the
    start time to be 19:00?<br>
    <br>
    Jim<div><div class="h5"><br>
    <br>
    <div>On 12/8/14, 10:55 AM, Jeff Duda wrote:<br>
    </div>
    </div></div><blockquote><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>I have a series of post-processed WRF files that were
                run through the UPP. I selected only a certain range of
                forecast hours to be processed (fhrs 19 through 26). To
                view these data using one control file in GrADS I used
                the following template string <br>
                <br>
                dset ^WRFPRS_d01.%f2<br>
                <br>
              </div>
              which corresponds to file names like<br>
            </div>
            WRFPRS_d01.22<br>
          </div>
          WRFPRS_d01.23<br>
          WRFPRS_d01.24<br>
        </div>
        WRFPRS_d01.25<br clear="all">
        <div>
          <div>
            <div>
              <div>
                <div><br>
                </div>
                <div>Yet when I run gribmap, I get errors because it
                  assumes I'm starting at hour 00:<br>
                  <br>
                  -bash-4.1$ gribmap -e -i control.ctl <br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.00 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.00<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.01 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.01<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.02 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.02<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.03 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.03<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.04 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.04<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.05 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.05<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.06 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.06<br>
                  &nbsp;grib1map:&nbsp; opening GRIB file: WRFPRS_d01.07 <br>
                  &nbsp;grib1map warning: could not open GRIB file:
                  WRFPRS_d01.07<br>
                  &nbsp;grib1map:&nbsp; reached end of files<br>
                  &nbsp;grib1map:&nbsp; writing the map...<br>
                  <br>
                </div>
                <div>If I change the template string to %h2 instead of
                  %f2, it resets to <br>
                </div>
                <div>WRFPRS_d01.00 <br>
                  after looking for<br>
                  WRFPRS_d01.23,<br>
                  so it doesn't encompass the entire forecast range I'm
                  looking for.<br>
                  <br>
                  I can get around this problem by using the %ch
                  template string, but this seems unnecessarily
                  complicated for what I'm trying to do. Does anyone
                  know why this happens or have a suggestion for a
                  better template?<br>
                  <br>
                  Jeff Duda<br>
                </div>
                <div>-- <br>
                  <div>Jeff Duda<br>
                    Graduate research assistant<br>
                    University of Oklahoma School of Meteorology<br>
                    Center for Analysis and Prediction of Storms<br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>
<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote><br></div></body></html>