<div>Hello Shaun, Andrew and the list,</div>
<div> </div>
<div>To Shaun:</div>
<div>yes I do have space...on the system there is about 44.5gb of free space where as the <strong>ESRI Ascii Raster grid</strong> of size 960mb required 22.62gb as said by the program.</div>
<div> </div>
<div>>r.terraflow, it requires 80N where N is rows x columns of space to<br>>compute the output. This can be upwards of 40G for large rasters</div>
<div>Is that the Grass Ascii Raster Grid that you are talking about??.<br> </div>
<div>To Andrew: </div>
<div>yes i do manually delete those files in /var/tmp each time when r.terraflow fails.( already warned about the same each time terraflow runs ).</div>
<div> </div>
<div>Shaun's patch did successed in removing the problem with ami_stream.h for the purpose of AMI_STREAM.</div>
<div> </div>
<div>but i want to know from Shuan which version of the cvs build did you use, on which your patch work and where able to get the desired results on larger files..</div>
<div> </div>
<div>-- <br>Best Regrads<br><br>Abhay Menon<br> </div>
<div><span class="gmail_quote">On 4/28/06, <b class="gmail_sendername">Shaun Walbridge</b> <<a href="mailto:walbridge@nceas.ucsb.edu">walbridge@nceas.ucsb.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Do you have an large amount of disk space available on your /var<br>partition? The error:<br>file=/var/tmp/STREAM_UpisEN:cannot read!: Input/output error
<br>indicates you'd run out of space. As mentioned in the help for<br>r.terraflow, it requires 80N where N is rows x columns of space to<br>compute the output. This can be upwards of 40G for large rasters.<br><br>cheers,<br>
Shaun<br><br>abhay menon wrote:<br><br>> hello all,<br>><br>> am still facing this problem.... even after updating the patch file..<br>><br>> r.terraflow December 2003<br>> region size is 13593 x 15215<br>
> cell 960MBdata header compatible with region header<br>> elevation stored as FLOAT (4B) WARNING: raster 960MBdata is of type<br>> CELL_TYPE --you should use r.terraflow.short<br>> STREAM temporary files in /var/tmp (THESE INTERMEDIATE STREAMS WILL
<br>> NOT BE DELETED IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE<br>> SPACE PLEASE DELETE THESE FILES MANUALLY!)<br>> SFD (D8) flow direction<br>> D8CUT=999999986991104.000000<br>> memory size:
400.00M (419430400) bytes<br>> Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode.<br>> reading data from 960MBdata to stream /var/tmp/STREAM_kohqGU:<br>> total elements=206817495, nodata elements=50042031
<br>> largest temporary files:<br>> FILL: 10.79G (11581779720) [206817495 elements, 56B each]<br>> FLOW: 11.68G (12542037120) [156775464 elements, 80B each]<br>> Will need at least 23.36G (25084074240) space available in /var/tmp
<br>> ------------------------------<br>> COMPUTING FLOW DIRECTIONS<br>> classifying nodata (inner & boundary)<br>> finding nodata<br>> relabeling nodata<br>> MM warning: limit=419430400B. allocating 209608296B. limit exceeded
<br>> by 23602B.<br>> MM warning: limit=419430400B. allocating 209608296B. limit exceeded<br>> by 23633B.<br>> merging relabeled grid<br>> MM warning: limit=419430400B. allocating 209567256B. limit exceeded
<br>> by 23558B.<br>> MM warning: limit=419430400B. allocating 209567256B. limit exceeded<br>> by 23589B.<br>> ----------<br>> assigning preliminary directions<br>> ----------<br>> finding flat areas (plateaus and depressions)
<br>> plateau.cc:starting memscan<br>> plateau.cc:memscan done<br>> removing duplicate plateaus<br>> MM warning: limit=419430400B. allocating 209567260B. limit exceeded<br>> by 23574B.<br>> :<br>> MM warning: limit=419430400B. allocating 209567260B. limit exceeded
<br>> by 23636B.<br>> relabeling plateaus<br>> MM warning: limit=419430400B. allocating 209567260B. limit exceeded<br>> by 23570B.<br>> MM warning: limit=419430400B. allocating 209567260B. limit exceeded<br>
> by 23601B.<br>> generating plateau statistics<br>> MM warning: limit=419430400B. allocating 209403100B. limit exceeded<br>> by 23570B.<br>> MM warning: limit=419430400B. allocating 209403100B. limit exceeded
<br>> by 23601B.<br>> ----------<br>> assigning directions on plateaus<br>> MM warning: limit=419430400B. allocating 209649312B. limit exceeded<br>> by 19306B.<br>> :<br>> MM warning: limit=419430400B. allocating 209649312B. limit exceeded
<br>> by 19368B.<br>> --------------<br>> generating watersheds and watershed graph<br>> creating windows<br>> warning: using slower scan<br>> generateWatersheds<br>> MM warning: limit=419430400B. allocating 209628776B. limit exceeded
<br>> by 10438B.<br>> :<br>> :<br>> :<br>> :<br>> :<br>> MM warning: limit=419430400B. allocating 209628776B. limit exceeded<br>> by 11182B.<br>> file=/var/tmp/STREAM_UpisEN:cannot read!: Input/output error
<br>> r.terraflow: ./IOStream/include/ami_sort_impl.h:109: void<br>> makeRun_Block(AMI_STREAM<T>*, T*, unsigned int, Compare*) [with T =<br>> waterWindowType, Compare = priorityCmpWaterWindowType]: Assertion `err
<br>> == AMI_ERROR_NO_ERROR' failed.<br>><br>> --<br>> Best Regrads<br>><br>> Abhay Menon<br>></blockquote></div>