[GRASS-user] Calculate averagfe of raster maps without mapcalc

Greetings

I need to calculate the average of a set of raster images. How can I calculate it without using mapcalc?
THanks

Kim

Hi Kim,

You can use r.univar to compute univariate statistics of
your raster data.

http://grass.fbk.eu/grass65/manuals/html65_user/r.univar.html

Regards,
Daniel.

On Wed, Feb 16, 2011 at 2:31 PM, Kim Besson <kimbesson1981@gmail.com> wrote:

Greetings

I need to calculate the average of a set of raster images. How can I calculate it without using mapcalc?
THanks

Kim


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Kim:

I need to calculate the average of a set of raster images. How can I
calculate it without using mapcalc?
THanks

Hello Kim,

You can use the module r.series. Like this, if you have few images:

r.series input=image1,image2,image3... method=average output=averaged_image

Or if you have a bunch of images with similar names, you can do:

r.series input="`g.mlist pattern=the_pattern_within_the_ names sep=,`"
method=average output=averaged_image

Hope this helps.

Marcello.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Calculate-averagfe-of-raster-maps-without-mapcalc-tp6031736p6032330.html
Sent from the Grass - Users mailing list archive at Nabble.com.