<div dir="ltr"><div><div><div><div><div><div><div>Brandon,<br></div>lterp isn't going to help you with this. You want to perform a temporal interpolation. lterp only does horizontal interpolation.<br><br></div>I've done stuff like this before. There's a few ways you can go. One of them is far more complicated than the other and probably not worth it.<br><br></div>Method 1:<br></div>-Use linear interpolation in time. Simple and quick, but if you're looking small scale features like precipitation or reflectivity, it's not going to give you accurate results.<br><br></div>Method 2:<br></div>-Estimate the temporal derivatives at the initial time, then integrate those forward to your sub-time steps. You can calculate things like advection, the Coriolis force, and vertical motion easy enough. Source and sinks for water vapor and heat will remain impossible, though. I'd have to "do the math" to be sure, but this method may end up giving you the same solution as method 1 would. In either case, I would recommend using method 1.<br><br></div><div>Good luck.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 17, 2016 at 2:32 PM, Brandon Schmidt <span dir="ltr"><<a href="mailto:admin@wilmingtonwx.com" target="_blank">admin@wilmingtonwx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I'm currently looking for a solution to take an HRRR Sub-Hourly GRIB2 file with 4 time steps and interpolate it to have 12 time steps. I know this somehow involves the 'iterp' function but I can't seem to get it working. I'm barely even sure where to start...what must the destination control file contain to make this work? I imagine this can be done fairly easily, I'm just not sure how to do it myself. Any help would be greatly appreciated...thanks!</div></div>
<br>______________________________<wbr>_________________<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/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</div>