[GRASS-user] Averaging a set of rasters

Hamish hamish_b at yahoo.com
Tue Sep 6 17:50:29 EDT 2011

Seth wrote:
> Is there any way to take a set of rasters (the output from many
> days of r.sun, for example) and average all their values
> together?

sure, use r.series. Rather than doing the average directly (which
you can do), a common way is to create a sum map and then manually
use r.mapcalc to divide by the number of days to get the avg. I
guess running r.series twice would be just as good..


ps- did that missing header file for the OpenCL version ever make
it into github?

More information about the grass-user mailing list