<div dir="ltr"><div dir="auto"></div><div class="gmail_extra">Hi,</div><div class="gmail_extra">i am not sure if i understand the problem correctly. However, you can use t.rast.accumulate [1] to create the rolling sum for an arbitrary interval (5 days, one year?) and then use t.rast.aggregate</div><div class="gmail_extra">to compute the yearly maximum value time series based on the time series output of t.rast.accumulate.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Or you can use t.rast.aggregate two time, first to compute the 5 day aggregation (sum of all values in 5 day interval) and then use t.rast.aggregate to compute the yearly maximums on the output of the first operation.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best regards</div><div class="gmail_extra">Soeren</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="https://grass.osgeo.org/grass72/manuals/t.rast.accumulate.html">https://grass.osgeo.org/grass72/manuals/t.rast.accumulate.html</a></div><div class="gmail_extra"><br><div class="gmail_quote">Am 06.04.2017 06:31 schrieb "RichardCooper" <<a href="mailto:richtcooper@hotmail.com" target="_blank">richtcooper@hotmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I have a data set containing multiple years of daily raster layers and would<br>
like to aggregate and output annual raster layers of 5-day extremes<br>
(maxima).<br>
<br>
Essentially, for each grid cell, I need to calculate rolling 5-day sums of<br>
each year and then find the annual max of the latter sums, and output as a<br>
series of raster layers of annual 5-day extremes.<br>
<br>
However, I'm trying to work out the best way in GRASS of doing this. Overall<br>
t.rast.aggregate comes closest to the type of functionality needed. I've<br>
also looked at t.rast3d.mapcalc, but unsure if calculating a rolling sum is<br>
possible.<br>
<br>
I'd be grateful for any suggestions on how I might approach this.<br>
<br>
Thanks,<br>
<br>
Richard<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Temporal-framework-calculating-annual-5-day-extremes-tp5316014.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabbl<wbr>e.com/Temporal-framework-calcu<wbr>lating-annual-5-day-extremes-<wbr>tp5316014.html</a><br>
Sent from the Grass - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-user</a></blockquote></div></div>
</div>