[GRASS-user] surface roughness script

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Wed Jul 19 17:32:13 EDT 2006


Dear list

I have uploaded in the WIKI r.roughness, a script to calculate maps of
surface roughness for a DEM.

# MODULE:	r.roughness
# AUTHOR(S):	Carlos H. Grohmann <carlos dot grohmann at gmail dot com >
# PURPOSE:	Calculates surface roughness from DEMs. (uses r.surf.area)
#		In this script surface roughness is used in the sense of
#		Hobson (1972), who describes it as the ratio between surface
#		(real) area and flat (plan) area of square cells; in this
#		approach, flat surfaces would present values close to 1,
#		whilst in irregular ones the ratio shows a curvilinear
#		relationship which asymptotically approaches infinity as the
#		real areas increases.
#		Reference:
#		Hobson, R.D., 1972. Surface roughness in topography:
#		quantitative approach. In: Chorley, R.J. (ed) Spatial
#		analysis in geomorphology. Methuer, London, p.225-245.
#
#		This script will create sub-regions with size defined by
#		the option GRID. In each sub-region, the real and planar areas
#		will be calculated by r.surf.area, and the results (points at
#		the center of sub-regions) will be interpolated with v.surf.rst.
#		The user also can set the tension and smooth parameters.


All the best

Carlos
-- 
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke




More information about the grass-user mailing list