<div dir="ltr"><div></div><div>Dear all, <br></div><div>I'm running <br></div><div>r.stream.order   stream_rast=stream direction=dir  elevation=elv  accumulation=flow strahler=order_strahler   memory=15000 --o</div><div>on a quite large stream raster 25200 x 25200 pixels.</div><div><br></div><div>gdalinfo -mm <br></div><div>Computed Min/Max=11001.000,52594532.000</div><div> </div><div><br></div><div>I'm giving 15G as memory availability so all the raster can be in the RAM. <br></div><div><br></div><div>The computation proceeds with errors, nonetheless the output presents some streams that are labeled as -1 rather than having the stream order number. <br></div><div><br></div><div>If I crop the stream raster input to 2400 x  6000 pixels, <br></div><div>gdalinfo -mm </div><div>Computed Min/Max=7632381.000,52594532.000</div><div><br></div><div>then output stream order results are mapped correctly. </div><div><br></div><div>Seems to me that in case of the large raster r.stream.order hits some data type limit that produces the output error. <br></div><div><br></div><div>I have tried to look into the r.stream.order code but I did not see where the error can be. <br></div><div><br></div><div>Any suggestions?</div><div>Thanks <br></div><div>Giuseppe<br></div><div></div><div><br></div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="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></div>