[GRASS-SVN] r64726 - grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 23 00:52:07 PST 2015


Author: osfraid
Date: 2015-02-23 00:52:07 -0800 (Mon, 23 Feb 2015)
New Revision: 64726

Modified:
   grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal/r.green.biomassfor.legal.py
Log:
fix bug to r.green.biomassfor.legal

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal/r.green.biomassfor.legal.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal/r.green.biomassfor.legal.py	2015-02-23 08:49:50 UTC (rev 64725)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal/r.green.biomassfor.legal.py	2015-02-23 08:52:07 UTC (rev 64726)
@@ -107,7 +107,7 @@
 
     ECOT=l_bioenergy+' = ('+l_bioenergyHF+' + '+l_bioenergyC+')'
 
-    run_command("r.mapcalc", overwrite=ow,expression='yield_pix1 = ('+yield1+'/'+yield_surface+')*((ewres()*nsres())/10000)')
+    run_command("r.mapcalc", overwrite=ow,expression='yield_pix1 = ('+yield_+'/'+yield_surface+')*((ewres()*nsres())/10000)')
        
     run_command("r.mapcalc", overwrite=ow,
                 expression=ECOHF % tuple(map(float, (opts['energy_tops_hf'],



More information about the grass-commit mailing list