Hi, 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 to compute the yearly maximum value time series based on the time series output of t.rast.accumulate.
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. Best regards Soeren [1] https://grass.osgeo.org/grass72/manuals/t.rast.accumulate.html Am 06.04.2017 06:31 schrieb "RichardCooper" <richtcoo...@hotmail.com>: > Hi, > > I have a data set containing multiple years of daily raster layers and > would > like to aggregate and output annual raster layers of 5-day extremes > (maxima). > > Essentially, for each grid cell, I need to calculate rolling 5-day sums of > each year and then find the annual max of the latter sums, and output as a > series of raster layers of annual 5-day extremes. > > However, I'm trying to work out the best way in GRASS of doing this. > Overall > t.rast.aggregate comes closest to the type of functionality needed. I've > also looked at t.rast3d.mapcalc, but unsure if calculating a rolling sum is > possible. > > I'd be grateful for any suggestions on how I might approach this. > > Thanks, > > Richard > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabbl > e.com/Temporal-framework-calculating-annual-5-day-extremes-tp5316014.html > Sent from the Grass - Users mailing list archive at Nabble.com. > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user