<div dir="ltr">Hello all<div><br></div><div>I'm working on deriving a nice drainage network for the Amazon basin. The problem is that the area is too large.</div><div><br></div><div>The region settings are these:</div><div><div>projection: 3 (Latitude-Longitude)</div><div>zone:       0</div><div>datum:      wgs84</div><div>ellipsoid:  wgs84</div><div>north:      6:17N</div><div>south:      21:30S</div><div>west:       80:37W</div><div>east:       44:50W</div><div>nsres:      0:00:03</div><div>ewres:      0:00:03</div><div>rows:       33340</div><div>cols:       42940</div><div>cells:      1431619600</div><div><br></div><div>With 14.3 billion cels, r.watershed would need about 450 GiB of disk space running in seg mode, is that correct? (from the manual, 31 MB for 1 million cells).</div><div><br></div><div>I do have that disk space available, but it's in a secondary drive. If I set TMPDIR to that drive, will r/watershed use it? I ask because the documentation (<a href="https://grass.osgeo.org/grass72/manuals/variables.html">https://grass.osgeo.org/grass72/manuals/variables.html</a>) only says that this environmental variable is used by "[Various GRASS GIS commands and wxGUI]".</div><div><br></div><div>On a side note, r.terraflow should be an alternative for such a large dataset, but from the manual:</div><div>"r.terraflow has a limit on the number of rows and columns (max 32,767 each)".<br></div><div>That's the size of a positive short integer. Is this limit still needed? </div><div><br></div><div><br></div><div>thanks</div><div><br></div><div>Carlos</div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div>
</div></div>