[GRASS-SVN] r59093 - grass/trunk/raster/r.li

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 18 14:12:25 PST 2014


Author: neteler
Date: 2014-02-18 14:12:25 -0800 (Tue, 18 Feb 2014)
New Revision: 59093

Modified:
   grass/trunk/raster/r.li/TODO
Log:
r.li TODO: added ASCII output NC example; +TODO: backport all GRASS 7 fixes to GRASS 6

Modified: grass/trunk/raster/r.li/TODO
===================================================================
--- grass/trunk/raster/r.li/TODO	2014-02-18 21:02:56 UTC (rev 59092)
+++ grass/trunk/raster/r.li/TODO	2014-02-18 22:12:25 UTC (rev 59093)
@@ -15,6 +15,11 @@
 -------------------
 # TODO: change to 3x3 example
 
+# created as described in EXAMPLES, moving window, in gui/wxgui/rlisetup/g.gui.rlisetup.html:
+echo "SAMPLINGFRAME 0|0|1|1
+SAMPLEAREA -1|-1|0.015021459227467811|0.011058451816745656
+MOVINGWINDOW" > $HOME/.grass7/r.li/movwindow7
+
 export GRASS_OVERWRITE=1
 # still Spearfish...
 g.region rast=landcover.30m -p
@@ -80,11 +85,24 @@
 r.li.simpson input=forests conf=movwindow7 out=forests_simpson_mov7
 r.univar forests_simpson_mov7
 
+========================
+GRASS 7: North Carolina tests
 
+echo "SAMPLINGFRAME 0|0|1|1
+SAMPLEAREA 0.0|0.0|1.0|1.0" > $HOME/.grass7/r.li/landsat_test
+
+g.region rast=lsat7_2002_40 -p
+r.li.shannon input=lsat7_2002_40 conf=landsat_test out=landsat_shannon
+--> Result written to ASCII file <$HOME/.grass7/r.li/output/landsat_shannon>
+
+
+
 ===============================================================
 GRASS 6
 -------
 
+TODO: backport all GRASS 7 fixes
+
 A few remaining things should be done soon:
 - add relevant references
 - use English variable names in C code
@@ -99,10 +117,10 @@
 d.rast forests
 
 # g.gui.rlisetup:
-# created as described in EXAMPLES, moving window, in gui/wxgui/rlisetup/g.gui.rlisetup.html:
+# created as described in EXAMPLES, moving window, in r.li.setup.html:
 echo "SAMPLINGFRAME 0|0|1|1
 SAMPLEAREA -1|-1|0.015021459227467811|0.011058451816745656
-MOVINGWINDOW" > $HOME/.grass7/r.li/movwindow7
+MOVINGWINDOW" > $HOME/.r.li/history/movwindow7
 
 r.li.patchdensity forests conf=movwindow7 out=forests_p_dens7
 d.rast.leg forests_p_dens7



More information about the grass-commit mailing list