[GRASSLIST:7462] Re: r.terraflow failured

David Finlayson david.p.finlayson at gmail.com
Tue Jul 5 14:19:13 EDT 2005


Thanks Laura.

David

On 7/5/05, Laura Toma <ltoma at bowdoin.edu> wrote:
> I changed in  r.terraflow/IOStream/lib/src/Makefile
> 
> line9: CXX = g++ -Wall
> 
> to
> 
> CXX = g++ -Wall -D_FILE_OFFSET_BITS=64
> 
> Then I cleaned everything, and recompiled, and it works now for me (on
> a Linux machine).
> 
> cd IOStream/lib/src/
> make clean
> make
> cd ..
> make
> cd ../../
> gmake
> etc
> 
> 
> 
> > orkun wrote:
> >> thank you
> >> You are right.
> >> that file made my disk full.
> >> Although I used a small region for testing purposes. It produced
> >> giantic files.
> >> I do not know what will happen if I use whole region ?
> >>
> 
> 
> The files produced  have a maxsize of 80N bytes, where N = nrows x
> ncols of your grid.  They will be smaller, if your grid contains (a lot
> of) nodata.  Check out the html page of r.terraflow for details.
> 
> As you run terraflow, the first lines will tell you what is the grid
> size, and the max size of the temporary files.
> How small was the region you tried it on?  To produce a file >2GB, you
> must have used a grid larger than 3600x3600 cells.
> 
> Hope this helps,
> Laura
> 
> 


-- 
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays




More information about the grass-user mailing list