[GRASS-user] Possible bug in r.sum and in r.stats?

Glynn Clements glynn at gclements.plus.com
Wed Mar 7 15:20:34 EST 2012


Rainer M Krug wrote:

> I get the following output as seen on the screenshot.

In future, please copy/paste the text rather than using a screenshot.

> Look at the number of cells in r.stats, compared to total cells as
> given by r.info (which is correct).
> 
> Any ideas what is happening?

Does the current region match the raster? r.info displays statistics
for the underlying raster; the data which r.stats uses is resampled
and cropped/padded according to the current region.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list