Thanks Maris!!
How can I force the output to be DCELL?
How can I get the "Range of data:"  without the scientific number notation?
thanks
Giuseppe

On Thu, 25 Feb 2021 at 01:11, Maris Nartiss <maris....@gmail.com> wrote:

> Hello Giuseppe,
> I am too lazy to calculate binary representation of your numbers, but
> your suspicion of insufficient precision of float seems to be spot-on.
>
> If output is set to DCELL, then the result is exactly as you would
> expect. Try yourself:
> r.mapcalc  expression="output=basin - 241981407231.0"
> Range of data:    min = 1  max = 3024784769025
>
> Māris.
>


-- 
Giuseppe Amatulli, Ph.D.

Research scientist at
School of the Environment
Yale University
New Haven, CT, USA - 06511
Tweeter: @BigDataEcology
Teaching: http://spatial-ecology.net
Work:  https://environment.yale.edu/profile/giuseppe-amatulli/
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to