Hello Pierre, Check this helper script that Thomas Leppelt kindly sent me when I asked a very similar question ;-) Maybe, you can figure out from there.
In my case, I needed to count consecutive days with temperature lower than 2 degrees within each week, so I created a weekly "mask" to be able to add 1 every time days met the condition. HTH, Vero El mié., 22 ago. 2018 a las 15:29, Pierre Roudier (<[email protected]>) escribió: > Hi, > > I'm trying to compute the maximum number of consecutive days according > to a given rule (eg: maximum of consecutive days with precipitation > > 0 mm) on a STRDS, but I'm getting stuck with the syntax. > > Is that something possible to do within GRASS's temporal framework? > > Kind regards, > > Pierre > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user
algebra_consecutive_days_example.sh
Description: Bourne shell script
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
