<div dir="ltr">Thanks Maris!! <div>How can I force the output to be DCELL? </div><div>How can I get the "<span style="color:rgb(0,0,0)">Range of data:" without the scientific number notation? </span></div><div><span style="color:rgb(0,0,0)">thanks </span></div><div><span style="color:rgb(0,0,0)">Giuseppe</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 25 Feb 2021 at 01:11, Maris Nartiss <<a href="mailto:maris.gis@gmail.com">maris.gis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Giuseppe,<br>
I am too lazy to calculate binary representation of your numbers, but<br>
your suspicion of insufficient precision of float seems to be spot-on.<br>
<br>
If output is set to DCELL, then the result is exactly as you would<br>
expect. Try yourself:<br>
r.mapcalc expression="output=basin - 241981407231.0"<br>
Range of data: min = 1 max = 3024784769025<br>
<br>
Māris.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Giuseppe Amatulli, Ph.D.<br><br>Research scientist at<br>School of the Environment<br>Yale University</div><div>New Haven, CT, USA - 06511</div><div><div><span style="color:rgb(0,0,0)">Tweeter: @BigDataEcology</span><br></div><div>Teaching: <a href="http://spatial-ecology.net/" target="_blank">http://spatial-ecology.net</a></div>Work: <a href="https://environment.yale.edu/profile/giuseppe-amatulli/" target="_blank">https://environment.yale.edu/profile/giuseppe-amatulli/</a> </div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div>