[GRASS-dev] [GRASS GIS] #1107: r.terraflow: consistent type for
D8CUT
GRASS GIS
trac at osgeo.org
Mon Jul 12 02:54:33 EDT 2010
#1107: r.terraflow: consistent type for D8CUT
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: task | Status: new
Priority: minor | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.terraflow | Platform: All
Cpu: All |
-------------------------+--------------------------------------------------
Hi,
moving this out of the noise of #1006 so we can close that one asap.
from https://trac.osgeo.org/grass/ticket/1006#comment:5
----
I notice the D8CUT variable can't seem to decide if it wants to be an
integer, float, or double:
{{{
module output: D8CUT=999999986991104.000000
option.h: float d8cut; /* flow value where flow accu comp
switches to D8 */
main.cc: d8cut->type = TYPE_DOUBLE;
main.cc: opt->d8cut = atoi(d8cut->answer);
main.cc: sprintf(buf, "D8CUT=%f", opt->d8cut);
types.h:static const flowaccumulation_type MAX_ACCU = 1e+15;
}}}
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1107>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list