Hermann wrote:
> I am trying to find out if 2 raster layers are exactly
> identical.
I usually do
g.region rast=map1,map2
r.univar map1
r.univar map2
and make sure the output is the same.
another way is
r.mapcalc "diffmap = map1 - map2"
r.univar diffmap
see also wish #618
https://trac.osgeo.org/grass/ticket/618
Hamish