[GRASS-SVN] r67717 - grass-addons/grass7/imagery/i.water

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 3 02:19:39 PST 2016


Author: ychemin
Date: 2016-02-03 02:19:39 -0800 (Wed, 03 Feb 2016)
New Revision: 67717

Modified:
   grass-addons/grass7/imagery/i.water/i.water.html
   grass-addons/grass7/imagery/i.water/main.c
Log:
bug fix mapset + manual clarification

Modified: grass-addons/grass7/imagery/i.water/i.water.html
===================================================================
--- grass-addons/grass7/imagery/i.water/i.water.html	2016-02-02 18:23:06 UTC (rev 67716)
+++ grass-addons/grass7/imagery/i.water/i.water.html	2016-02-03 10:19:39 UTC (rev 67717)
@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<em>i.water</em> calculates a water layer after Xiao et al (2005) and Roy et al (2005).
+<em>i.water</em> calculates a water layer after Xiao et al (2005) and Roy et al (2005). If input is albedo and ndvi, it will process in generic mode. If input is ndvi and MODIS Band 7 reflectance, it will process in MODIS mode.
 
 <h2>REFERENCES</h2>
 
@@ -17,9 +17,9 @@
 <h2>SEE ALSO</h2>
 
 <em>
-<a href="r.sun.html">r.sun</a><br>
+<a href="i.vi.html">i.vi</a><br>
 <a href="i.albedo.html">i.albedo</a><br>
-<a href="i.vi.html">i.vi</a><br>
+<a href="i.wi.html">i.vi</a><br>
 </em>
 
 

Modified: grass-addons/grass7/imagery/i.water/main.c
===================================================================
--- grass-addons/grass7/imagery/i.water/main.c	2016-02-02 18:23:06 UTC (rev 67716)
+++ grass-addons/grass7/imagery/i.water/main.c	2016-02-03 10:19:39 UTC (rev 67717)
@@ -28,7 +28,7 @@
 int main(int argc, char *argv[]) 
 {
     struct Cell_head cellhd;	/*region+header info */
-    char *mapset;		/*mapset name */
+    char *mapset="";		/*mapset name */
     int nrows, ncols;
     int row, col;
     struct GModule *module;



More information about the grass-commit mailing list