Re: [GRASS-user] accumulate a raster following the flow accumulation

2018-05-05 Thread Giuseppe Amatulli
Thank Johannes!!! right! I make some test and yes if you provide the flow=temp the output accumulation will be the accumulation of the temp weighted by the area of each cell. So if i divide temp_accumulation / flowaccumulation i get the upper-stream mean temperature. Thank you very much

Re: [GRASS-user] accumulate a raster following the flow accumulation

2018-05-05 Thread Micha Silver
Hi: There's an option to the r.univar module that takes a "zones" raster, and calculates univariate statistics for each zone. Statistics like mean, max, count, etc are calculated from the input raster for each category in the zones file. The zones, in your case would

[GRASS-user] accumulate a raster following the flow accumulation

2018-05-05 Thread Giuseppe Amatulli
Hi, I'm searching for a GRASS command that is able to "accumulate" a raster following the flow accumulation output obtained by r.watershed. In other words if I have a temperature raster I would like to accumulate the temperature values following the drainage direction. The final results would to