[GRASS-user] Problem with r. mapcalc

Maris Nartiss maris.gis at gmail.com
Thu Feb 25 08:29:08 PST 2021


Markus, output of r.univar and r.info both can have scientific
notation in their range outputs.

Giuseppe, at least on my system r.mapcalc for floating point
expressions (if one of operands is floating point) defaults to double
(stored as DCELL). Still to be safe you can convert one of operands
(e.g. input map with ints) to double with double() as Markus already
pointed out.

Good luck,
Māris.


More information about the grass-user mailing list