[GRASS-dev] r.flow and G_message

Hamish hamish_nospam at yahoo.com
Sun Oct 22 21:07:51 EDT 2006


Jachym Cepicky wrote:
> 
> so the output looks now like this (with --verbose):
> 
> Reading input files: elevation
> Reading input files: aspect
> Reading input files: barrier
> Precomputing: tangents
> Precomputing: e/w distances
> Precomputing: quantization tolerances
> Precomputing: re-oriented aspects
> Calculating maps ...
> 10%
> Writing density file
> Building topology ...


is "10%" a typo for "100%" or real?

if using G_percent() you need to call it again after the loop has
finished otherwise it stops at 98% (or whatever) and doesn't print the
newline to stderr. IIRC r.terraflow is pretty bad for this mistake.


Hamish




More information about the grass-dev mailing list