The output map is actually a reclass of the base map (see r.reclass), and will have exactly the same category values as the base map. The averaged values computed by r.average are stored in the output map's category labels file. The base= map is an existing raster map layer in the user's current mapset search path. For each group of cells assigned the same category value in the base map, the values assigned these cells in the cover map will be averaged. The cover map is n existing raster map layer containing the values (in the form of cell category values or cell category labels) to be averaged within each category of the base map.
cat cat value label 0 no soil data 1 .10 2 .15 3 .17 4 .20 5 .24 6 .28 7 .32 8 .37 9 .43Then
cat cat value label 1 .1023 2 .1532 3 .172 4 .3872 5 .003 6 .28 7 .2345
category value label used by -c ______________________ .12 .12 .80 KF .8 no data 0
(This flag is very similar to the @ operator in r.mapcalc, and the user is encouraged to read the manual entry for r.mapcalc to see how it works there.)
The user should use the results of r.average with care. Since this utility assigns a value to each cell which is based on global information (i.e., information at spatial locations other than just the location of the cell itself), the resultant map layer is only valid if the geographic region and mask settings are the same as they were at the time that the result map was created.
Results are affected by the current region settings and mask.
Last changed: $Date$