[GRASS-user] largest number of consecutive days where rainfall >1 mm
Ivan Marchesini
ivan.marchesini at gmail.com
Thu Aug 18 05:41:24 PDT 2022
Hi Markus
thank you
Yes I saw that algorithm but, if I'm not wrong, it does not fit with my
needs. The calculation made returns the number of days, in a given
interval (here week), that meets a certain condition. Not sure they are
consecutive. As an example: if negative temperature occur in monday and
thuesday and then in friday, saturday and sunday then the code count 5
for that week. In my opinion what we need is 3.
I hope I was enough clear
In any case it would be good to find a solution for this type of problem
because these type of indexes are used for climate data analysis (e.g.:
https://www.ecad.eu/download/millennium/millennium.php
https://www.climdex.org/learn/indices/ )
thank you
Ivan
On 17/08/22 20:04, Markus Neteler wrote:
> Hi Ivan,
>
> On Wed, Aug 17, 2022 at 9:07 AM Ivan Marchesini
> <ivan.marchesini at gmail.com> wrote:
>> Dear grass user
>>
>> I have daily rainfall strds
>>
>> I would like to obtain a layer of the largest number of consecutive days
>> where rainfall >1 mm
> May this script code help?
> https://grasswiki.osgeo.org/wiki/Temporal_data_processing#How_to_count_consecutive_days_that_meet_a_certain_condition?
>
> Markus
>
>> Do you have any suggestions on how to calculate this climate index using
>> grass's time modules?
>>
>> thank you very much
>>
>> Ivan
More information about the grass-user
mailing list