<div dir="ltr">Hi Stuart,<div><br></div><div>yes it is easy you can play around with the time element as example below</div><div><br></div><div>n=2</div><div>while (n &lt;=96)</div><div>precip(t=n) - precip(t=n-1)</div><div>n=n+1</div><div>endwhile</div><div><br></div><div>you can put this on a script.</div><div><br></div><div>Thanks,</div><div><br></div><div>Raymond</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 5, 2015 at 6:03 PM, Chorley Weather <span dir="ltr">&lt;<a href="mailto:weatherstu@chorleyweather.com" target="_blank">weatherstu@chorleyweather.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-size:10pt;font-family:Tahoma,Arial,Helvetica,sans-serif">
<p>Hi all,</p>
<p>This is probably an easy solution but if I have 96 hours worth of precipitation data but I need to subtract the previous value for an hourly output how would I go about this? For example hour 2 would need to subtract hour 1, then hour 3 would need to subtract hour 2 and so on......</p>
<p>Thanks in advance!!! </p><span class="HOEnZb"><font color="#888888">
<div>-- <br>
<p>Stuart Markham</p>
<p> </p>
</div>
</font></span></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"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>-------------------------------------------------------------------------------------------------------------------------------</div>Raymond C. Ordinario<br>MS Atmospheric Science<br>Ateneo De Manila University<br>Quezon City, Philippines<br><br>Weather Specialist I<br><div>Technique Application and Meteorological Satellite Section<br>Weather DIvision<br>Philippine Atmospheric, Geophysical and Astronomical Services Admistration<br>Quezon City, Philippines</div></div></div>
</div>