[GRASS-dev] [GRASS GIS] #3269: r.roughness.vector: bug in rescale formula

GRASS GIS trac at osgeo.org
Wed Feb 8 05:28:09 PST 2017


#3269: r.roughness.vector: bug in rescale formula
--------------------------+--------------------------------------
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.1
 Component:  Default      |    Version:  unspecified
Resolution:               |   Keywords:  AddOn,r.roughness.vector
       CPU:  Unspecified  |   Platform:  All
--------------------------+--------------------------------------

Comment (by guano):

 Hi there, sorry for the late reply.

 I went looking in the paper by Hobson (1972), and the original formula for
 Fischer K is: (N-1)/(N-R), but in the module (and in my paper) I used the
 *inverse* of it (so smooth areas would end up with a low value). Inverting
 the formula gives (N-R)/(N-1).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3269#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list