[GRASS-SVN] r58620 - grass/trunk/imagery/i.vi

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 5 15:44:38 PST 2014


Author: neteler
Date: 2014-01-05 15:44:38 -0800 (Sun, 05 Jan 2014)
New Revision: 58620

Modified:
   grass/trunk/imagery/i.vi/i.vi.html
Log:
i.vi manual: NDVI example added

Modified: grass/trunk/imagery/i.vi/i.vi.html
===================================================================
--- grass/trunk/imagery/i.vi/i.vi.html	2014-01-05 23:37:25 UTC (rev 58619)
+++ grass/trunk/imagery/i.vi/i.vi.html	2014-01-05 23:44:38 UTC (rev 58620)
@@ -247,6 +247,17 @@
 wdvi( redchan, nirchan, soil_line_weight )
 </pre></div>
 
+<h2>EXAMPLE</h2>
+This example uses a LANDSAT TM5 scene included in the North Carolina sample
+dataset. 
+
+<!-- todo: check if i.landsat.toar use is needed for NC data -->
+<div class="code"><pre>
+g.region rast=lsat5_1987_30 -p
+i.vi red=lsat5_1987_30 viname=ndvi output=lsat5_1987.ndvi nir=lsat5_1987_40
+r.colors lsat5_1987.ndvi color=ndvi
+</pre></div>
+
 <h2>NOTES</h2>
 
 Originally from kepler.gps.caltech.edu:



More information about the grass-commit mailing list