[GRASS-SVN] r52758 - grass/branches/develbranch_6/scripts/i.spectral

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 20 03:36:06 PDT 2012


Author: neteler
Date: 2012-08-20 03:36:06 -0700 (Mon, 20 Aug 2012)
New Revision: 52758

Added:
   grass/branches/develbranch_6/scripts/i.spectral/i_spectral.png
Modified:
   grass/branches/develbranch_6/scripts/i.spectral/description.html
Log:
NC example added

Modified: grass/branches/develbranch_6/scripts/i.spectral/description.html
===================================================================
--- grass/branches/develbranch_6/scripts/i.spectral/description.html	2012-08-20 10:35:34 UTC (rev 52757)
+++ grass/branches/develbranch_6/scripts/i.spectral/description.html	2012-08-20 10:36:06 UTC (rev 52758)
@@ -8,11 +8,27 @@
 This script needs gnuplot to be installed.
 
 
-<h2>EXAMPLE</h2>
+<h2>EXAMPLES</h2>
 
-To analyze a time series of maps, run:
+Analysis of LANDSAT TM7 channels (North Carolina dataset):
 
 <div class="code"><pre>
+g.region rast=lsat7_2002_10 -p
+d.mon x0
+d.rast lsat7_2002_40
+i.spectral -i rast=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70
+</pre></div>
+
+<center>
+<img src="i_spectral.png" border=1><br>
+Spectral plot of 3 different land cover types: (1) water, (2) green vegetation, and (3) highway
+</center>
+
+
+<p>
+To analyze a time series of maps, use:
+
+<div class="code"><pre>
 d.rast map_1
 LIST=`g.mlist type=rast mapset=timeseries pat="map_*" | sort -t '_' -k 2 -n | tr '\n' ','| sed 's+,$++g'`
 i.spectral -i rast=$LIST

Added: grass/branches/develbranch_6/scripts/i.spectral/i_spectral.png
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/scripts/i.spectral/i_spectral.png
___________________________________________________________________
Added: svn:mime-type
   + image/png



More information about the grass-commit mailing list