<div dir="ltr"><div><div>Yup... I had quite a bit of &quot;fun&quot; setting up my total precip scripts, especially with the NAM (which actually has different standards for the precip data depending on which run of the day it is).<br><br></div>Joey<br></div>InstantWeatherMaps.com<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 10:10 AM, Jennifer Adams <span dir="ltr">&lt;<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I have only one thing to add, and that is to be careful about accumulation periods. For the GFS 3-hourly data, the files at hour 03, 09, 15, and 21 are all 3hr accumulations, but hours 00, 06, 12, and 18 are 6-hour accumulations. If you have a 3-hourly time series, you should use the optional tinc argument in the call to sum, e.g.:<div><br></div><div>ga-&gt; d sum(p,t=1,t=81,2)</div><div><br><div>—Jennifer</div><div><div><div class="h5"><br><div><div>On Aug 5, 2015, at 6:21 AM, Brian Gaze &lt;<a href="mailto:brian.gaze@NTLWORLD.COM" target="_blank">brian.gaze@NTLWORLD.COM</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr">Perfect. Thanks Jim.<br><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2015 at 20:45, 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 bgcolor="#FFFFFF" text="#000000">
    Hi Brian,<br>
    <br>
    Sorry, yeah you&#39;ll have to concatenate the files together.  But, you
    can do that with the template option in grads.  An explanation is
    given at <a href="http://www.iges.org/grads/gadoc/templates.html" target="_blank">http://www.iges.org/grads/gadoc/templates.html</a>.<br>
    <br>
    Jim<div><div><br>
    <br>
    <div>On 8/3/15 8:29 PM, Brian Gaze wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Thanks Jim.</div>
        <div><br>
        </div>
        <div>Understand the function, but to use does it require me to
          first concatenate the individual grib2 files together for each
          time step required?</div>
        <div><br>
        </div>
        <div>Brian</div>
        <div><br>
        </div>
        <br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 4 August 2015 at 02:59, 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 bgcolor="#FFFFFF" text="#000000"> Hi Brian,<br>
                <br>
                You should be able to use the GrADS function &quot;sum&quot;,
                e.g., &#39;d sum(precip,t=1,t=384)&#39;.<br>
                <br>
                Jim
                <div>
                  <div><br>
                    <br>
                    <div>On 8/3/15 10:46 AM, Brian Gaze wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div>
                      <div dir="ltr">
                        <div>Hi,</div>
                        <div><br>
                        </div>
                        I&#39;d like to be able to plot a chart using
                        shading and contours for a lat long range
                        (rather than single point) which displays the
                        total accumulated precipitation for a series of
                        time steps rather than each individual one in
                        the GFS run. For example, total precipitation
                        for 0 to 384 hours, lat 30 to 60, lon -45 -60. 
                        <div><br>
                        </div>
                        <div>The GFS grib2 files don&#39;t seem to contain a
                          variable with this data so I&#39;m guessing it&#39;s
                          necessary to sum precipitation values from
                          each individual file? Any suggestions for the
                          best way to go about this?</div>
                        <div><br>
                        </div>
                        <div>Thanks</div>
                        <div><br>
                        </div>
                        <div>BWG</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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <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></div></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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<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></blockquote></div><br></div></div><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br></div><br></span></span><br>
</div>
<br></div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><br><a href="http://www.instantweathermaps.com" target="_blank">http://www.instantweathermaps.com</a><br></div>
</div>