[GRASS-SVN] r68039 - grass-addons/grass7/raster/r.forestfrag

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 10 23:53:23 PST 2016


Author: pvanbosgeo
Date: 2016-03-10 23:53:22 -0800 (Thu, 10 Mar 2016)
New Revision: 68039

Modified:
   grass-addons/grass7/raster/r.forestfrag/r.forestfrag.py
Log:
r.forestfrag addon: correct minor error

Modified: grass-addons/grass7/raster/r.forestfrag/r.forestfrag.py
===================================================================
--- grass-addons/grass7/raster/r.forestfrag/r.forestfrag.py	2016-03-10 17:03:32 UTC (rev 68038)
+++ grass-addons/grass7/raster/r.forestfrag/r.forestfrag.py	2016-03-11 07:53:22 UTC (rev 68039)
@@ -398,7 +398,7 @@
         text_file.write("It thus (roughly) estimates the conditional probability that, given a\n")
         text_file.write("pixel of forest, its neighbor is also forest")
         text_file.close()
-        grass.run_command("r.support", map="Mosaic1_pf at forestfrag",
+        grass.run_command("r.support", map=pff,
                           title="Conditional probability neighboring cell is forest",
                           units="Proportion",
                           source1="based on " + ipl,



More information about the grass-commit mailing list