[GRASS-SVN] r60586 - grass-addons/grass7/raster/r.roughness.vector

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 29 08:22:32 PDT 2014


Author: hellik
Date: 2014-05-29 08:22:32 -0700 (Thu, 29 May 2014)
New Revision: 60586

Modified:
   grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.html
   grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.py
Log:
r.roughness.vector: cleanup, wording

Modified: grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.html
===================================================================
--- grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.html	2014-05-29 12:54:13 UTC (rev 60585)
+++ grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.html	2014-05-29 15:22:32 UTC (rev 60586)
@@ -15,15 +15,11 @@
 <p>
 The options <em>compass</em>, <em>colatitude</em>, <em>xcos</em>, 
 <em>ycosm</em> and <em>zcos</em> are created as temporary files each 
-time the script is run.
+time the script is run. If the user wants to create several map (with 
+different window sizes, for instance), it is recommended to create those 
+maps with <em>r.mapcalc</em> and use them as input:
 </p>
 
-<p>
-If the user wants to create several map (with different window sizes, 
-for instance), it is recommended to create those maps with 
-<em>r.mapcalc</em> and use them as input:
-</p>
-
 <div class="code">
  <pre>
   r.mapcalc compass = "if(aspect==0,0,if(aspect < 90, 90-aspect, 360+90-aspect))"
@@ -78,14 +74,24 @@
 geomorphology</em>. Methuer, London, p.225-245.
 <br>
 <br>
-McKean, J. & Roering, J., 2004. <em>Objective landslide detection 
+McKean, J. & Roering, J., 2004. Objective landslide detection 
 and surface morphology mapping using high-resolution airborne laser 
-altimetry. Geomorphology</em>, 57:331-351.
+altimetry. <em>Geomorphology</em>, 57:331-351. 
+<a href="http://dx.doi.org/10.1016/S0169-555X(03)00164-8" target="_blank">http://dx.doi.org/10.1016/S0169-555X(03)00164-8</a>. 
+<br>
+<br>
+Grohmann, C.H., Smith, M.J. & Riccomini, C., 2011. Multiscale Analysis 
+of Topographic Surface Roughness in the Midland Valley, Scotland. 
+<em>Geoscience and Remote Sensing, IEEE Transactions on</em>, 49:1200-1213. 
+<a href="http://dx.doi.org/10.1109/TGRS.2010.2053546" target="_blank">http://dx.doi.org/10.1109/TGRS.2010.2053546</a>
 </p>
 
 <h2>AUTHORS</h2>
 
-Carlos Henrique Grohmann - Institute of Energy and Environment, University of São Paulo, Brazil<br>
+Carlos Henrique Grohmann - Institute of Energy and Environment, 
+University of São Paulo, Brazil. (<a href="http://carlosgrohmann.com" 
+target="_blank">http://carlosgrohmann.com</a>) 
+<br>
 Helmut Kudrnovsky
 <p>
 

Modified: grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.py
===================================================================
--- grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.py	2014-05-29 12:54:13 UTC (rev 60585)
+++ grass-addons/grass7/raster/r.roughness.vector/r.roughness.vector.py	2014-05-29 15:22:32 UTC (rev 60586)
@@ -36,7 +36,7 @@
 #############################################################################
 #
 #%Module
-#% description: Calculates surface roughness with a moving-window approach
+#% description: Calculates surface roughness in a moving-window, as the orientation of vectors normal to surface planes.
 #% keywords: raster
 #% keywords: terrain
 #% keywords: aspect
@@ -52,20 +52,20 @@
 #% key: slope
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: Input raster slope map
+#% description: Input slope map
 #% required : yes
 #%end
 #%option
 #% key: aspect
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: Input raster aspect map
+#% description: Input aspect map
 #% required : yes
 #%end
 #%option
 #% key: window
 #% type: integer
-#% description: Window size (3,5,7,...,25)
+#% description: Moving-window size (uses r.neighbors)
 #% required : no
 #% answer : 3
 #%end
@@ -73,49 +73,49 @@
 #% key: strength
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: Output vector strength map 
+#% description: Output "vector strength" map  
 #% required : no
 #%end
 #%option
 #% key: fisher
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: Output Fischer's K parameter map 
+#% description: Output "Fisher's K parameter" map 
 #% required : no
 #%end
 #%option
 #% key: compass
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: OPTIONAL INPUT: Compass aspect values (longitude)
+#% description: Input compass aspect map (optional)
 #% required : no
 #%end
 #%option
 #% key: colatitude
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: OPTIONAL INPUT: Colatitude values (90 - slope)
+#% description: Input colatitude map (optional)
 #% required : no
 #%end
 #%option
 #% key: xcos
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: OPTIONAL INPUT: X directional cosine map
+#% description: Input x directional cosine map (optional)
 #% required : no
 #%end
 #%option
 #% key: ycos
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: OPTIONAL INPUT: Y directional cosine map
+#% description: Input y directional cosine map (optional)
 #% required : no
 #%end
 #%option
 #% key: zcos
 #% type: string
 #% gisprompt: old,cell,raster
-#% description: OPTIONAL INPUT: Z directional cosine map
+#% description: Input z directional cosine map (optional) 
 #% required : no
 #%end
 #



More information about the grass-commit mailing list