[GRASS-SVN] r59080 - in grass/trunk/raster/r.li: . r.li.padsd

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 18 03:44:11 PST 2014


Author: neteler
Date: 2014-02-18 03:44:10 -0800 (Tue, 18 Feb 2014)
New Revision: 59080

Modified:
   grass/trunk/raster/r.li/TODO
   grass/trunk/raster/r.li/r.li.padsd/r.li.padsd.html
Log:
r.li: test sequence added

Modified: grass/trunk/raster/r.li/TODO
===================================================================
--- grass/trunk/raster/r.li/TODO	2014-02-18 10:07:32 UTC (rev 59079)
+++ grass/trunk/raster/r.li/TODO	2014-02-18 11:44:10 UTC (rev 59080)
@@ -11,7 +11,77 @@
    See Luca D's prototype in  trunk/gui/wxpython/rlisetup
    and  http://grass.osgeo.org/grass70/manuals/g.gui.rlisetup.html
 
+Brute-force testing
+-------------------
+# TODO: change to 3x3 example
 
+export GRASS_OVERWRITE=1
+# still Spearfish...
+g.region rast=landcover.30m -p
+r.mapcalc "forests = if(landcover.30m >= 41 && landcover.30m <= 43,1,null())"
+
+echo "-------------------------"
+r.li.dominance input=forests conf=movwindow7 out=forests_dominance_mov7
+r.univar forests_dominance_mov7
+
+echo "-------------------------"
+r.li.edgedensity input=forests conf=movwindow7 out=forests_edgedens_mov7
+r.univar forests_edgedens_mov7
+
+echo "-------------------------"
+r.li.mpa input=forests conf=movwindow7 out=forests_mpa_mov7
+r.univar forests_mpa_mov7
+
+echo "-------------------------"
+r.li.mps input=forests conf=movwindow7 out=forests_mps_mov7
+r.univar forests_mps_mov7
+
+echo "-------------------------"
+r.li.padcv input=forests conf=movwindow7 out=forests_padcv_mov7
+r.univar forests_padcv_mov7
+
+echo "-------------------------"
+r.li.padrange input=forests conf=movwindow7 out=forests_padrange_mov7
+r.univar forests_padrange_mov7
+
+echo "-------------------------"
+r.li.padsd input=forests conf=movwindow7 out=forests_padsd_mov7
+r.univar forests_padsd_mov7
+
+echo "-------------------------"
+r.li.patchdensity forests conf=movwindow7 out=forests_p_dens7
+r.univar forests_p_dens7
+
+echo "-------------------------"
+r.li.patchnum input=forests conf=movwindow7 out=forests_patchnum_mov7
+r.univar forests_patchnum_mov7
+
+echo "-------------------------"
+r.li.pielou input=forests conf=movwindow7 out=forests_pielou_mov7
+r.univar forests_pielou_mov7
+
+echo "-------------------------"
+r.li.renyi input=forests conf=movwindow7 out=forests_renyi_mov7_a06 alpha=0.6
+r.univar forests_renyi_mov7_a06
+
+echo "-------------------------"
+r.li.richness input=forests conf=movwindow7 out=forests_richness_mov7
+r.univar forests_richness_mov7
+
+echo "-------------------------"
+r.li.shannon input=forests conf=movwindow7 out=forests_shannon_mov7
+r.univar forests_shannon_mov7
+
+echo "-------------------------"
+r.li.shape input=forests conf=movwindow7 out=forests_shape_mov7
+r.univar forests_shape_mov7
+
+echo "-------------------------"
+r.li.simpson input=forests conf=movwindow7 out=forests_simpson_mov7
+r.univar forests_simpson_mov7
+
+
+===============================================================
 GRASS 6
 -------
 

Modified: grass/trunk/raster/r.li/r.li.padsd/r.li.padsd.html
===================================================================
--- grass/trunk/raster/r.li/r.li.padsd/r.li.padsd.html	2014-02-18 10:07:32 UTC (rev 59079)
+++ grass/trunk/raster/r.li/r.li.padsd/r.li.padsd.html	2014-02-18 11:44:10 UTC (rev 59080)
@@ -37,7 +37,8 @@
 g.region rast=landcover.30m -p
 r.mapcalc "forests = if(landcover.30m >= 41 && landcover.30m <= 43,1,null())"
 r.li.padsd input=forests conf=movwindow7 out=forests_padsd_mov7
-r.univar forests_padsd_mov7</pre></div>
+r.univar forests_padsd_mov7
+</pre></div>
 
 <h2>SEE ALSO</h2>
 <em>



More information about the grass-commit mailing list