<div dir="ltr"><div>Hello Pierre, <br></div><div><br></div><div>Check this helper script that Thomas Leppelt kindly sent me when I asked a very similar question ;-) Maybe, you can figure out from there. <br></div><div><br></div><div>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. <br></div><div><br></div><div>HTH, <br></div><div>Vero<br></div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 22 ago. 2018 a las 15:29, Pierre Roudier (<<a href="mailto:pierre.roudier@gmail.com" target="_blank">pierre.roudier@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to compute the maximum number of consecutive days according<br>
to a given rule (eg: maximum of consecutive days with precipitation ><br>
0 mm) on a STRDS, but I'm getting stuck with the syntax.<br>
<br>
Is that something possible to do within GRASS's temporal framework?<br>
<br>
Kind regards,<br>
<br>
Pierre<br>
_______________________________________________<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/mailman/listinfo/grass-user</a></blockquote></div>