[GRASS-user] calculation of mean and standard deviation of several
	rasters
    Glynn Clements 
    glynn at gclements.plus.com
       
    Fri May  6 19:34:38 EDT 2011
    
    
  
Johannes Radinger wrote:
> I've got several maps with the same regional extend and same
> resolution (output of several model runs). Now I'd like to calculate
> the mean and the standard deviation of each cell for all the
> overlaying rasters.
> 
> I just found the mode/median/min/max function of the mapcalculator. Is
> there a mean and SD function for mapcalc or is there any other way? Or
> do I have to calculate it by "hand" (defining the formula in mapcalc).
r.mapcalc doesn't have mean, variance, etc; you need to calculate them
"by hand".
But as Hamish suggests, r.series is probably the right tool in this
particular case.
-- 
Glynn Clements <glynn at gclements.plus.com>
    
    
More information about the grass-user
mailing list