<div dir="ltr"><div>Mike,</div><div>You can use a t-index skip value in the sum function. So you would do something like <i>sum(apcpsfc,t=1,t=72,2</i>) to sum precip grids from <u>only every other time index</u> in the control file. This, of course, assumes the interval is regular and that the 6-hourly data contains all of the 3-hourly data. I think for GFS output this is indeed true, but you should check a few time steps just to be sure. Plotting the difference between a few pairs of time-consecutive precip fields should help you confirm.</div><div><br></div><div>Jeff Duda<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 8:30 PM Mike Manning <<a href="mailto:weathermon83@gmail.com">weathermon83@gmail.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 lang="EN-AU"><div class="gmail-m_-2260291296472695798WordSection1"><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">There are several models which provide GRIB2 data with say 3 hourly until x amount of hours and then 6 hourly until the end of that run.  Some models even have a tertiary time step where they run hourly, 3 hourly and then 6 hourly data..<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">At the moment for templating, I’m creating a control file for each series however this doesn’t seem ideal for accumulated precip.  EG I can use sum(apcpsfc, t=1, t=72) for a model that uses hourly from 1-72 hours, but what would I do for a model that then goes 3 hourly from 72-144 hours for accumulated precip? How would I get the entire 1-144 hours of accumulated precip totals? Is there a better way of templating the data so it’s all combined or does it need to be kept separate because I’m dealing with different time series? I can’t seem to find any way to tally together the accumulated precip data once the time series changes from hourly to 3 hourly (and again for models that have 3 time series such as UKMO)<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Cheers, Mike<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><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 Laboratory<br><font size="2"><span>

<span>Boulder, CO<br></span></span></font>



</div></div></div></div></div></div></div></div></div></div>