[GRASS-SVN] r65108 - in grass-addons/grass7/raster/r.green/r.green.biomassfor: r.green.biomassfor.economic r.green.biomassfor.impact r.green.biomassfor.legal r.green.biomassfor.recommended r.green.biomassfor.technical r.green.biomassfor.theoretical

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 20 07:41:19 PDT 2015


Author: zarch
Date: 2015-04-20 07:41:19 -0700 (Mon, 20 Apr 2015)
New Revision: 65108

Modified:
   grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.economic/r.green.biomassfor.economic.py
   grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.impact/r.green.biomassfor.impact.py
   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.recommended/r.green.biomassfor.recommended.py
   grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.technical/r.green.biomassfor.technical.py
   grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.theoretical/r.green.biomassfor.theoretical.py
Log:
r.green: Fix overwrite option and change prefix to basename

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.economic/r.green.biomassfor.economic.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.economic/r.green.biomassfor.economic.py	2015-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.economic/r.green.biomassfor.economic.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -39,9 +39,10 @@
 #% guisection: Prices
 #%end
 #%option 
-#% key: output_prefix
+#% key: output_basename
 #% type: string
-#% description: Prefix for economic bioenergy (HF,CC and total)
+#% description: Basename for economic bioenergy (HF,CC and total)
+#% gisprompt: new
 #% key_desc : name
 #% required : yes
 #% guisection: Base

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.impact/r.green.biomassfor.impact.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.impact/r.green.biomassfor.impact.py	2015-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.impact/r.green.biomassfor.impact.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -138,21 +138,21 @@
 #% required : no
 #% guisection: Soil and water protection
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_co2_map
 #% type: string
 #% description: Name for output CO2 emissions map
 #% key_desc : name
 #% guisection: CO2 Emission
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_aco2_map
 #% type: string
 #% description: Name for output avoided CO2 emissions map
 #% key_desc : name
 #% guisection: CO2 Emission
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_netco2_map
 #% type: string
 #% description: Name for output net CO2 emissions map
@@ -272,7 +272,7 @@
 #% required : no
 #% guisection: CO2 Emission
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_fr_map
 #% type: string
 #% description: Name for output reduction map of fire risk
@@ -286,14 +286,14 @@
 #% required : no
 #% guisection: Fire risk
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_tot_re_map
 #% type: string
 #% description: Name for output total recreational map
 #% key_desc : name
 #% guisection: Recreational
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_imp_re_map
 #% type: string
 #% description: Name for output improved recreational map
@@ -329,10 +329,11 @@
 #% key_desc : name
 #% guisection: TEV
 #%end
-#%option 
+#%option G_OPT_R_OUTPUT
 #% key: output_tev
 #% type: string
 #% description: TEV result
+#% gisprompt: new
 #% key_desc : name
 #% guisection: TEV
 #%end

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-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.legal/r.green.biomassfor.legal.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -52,9 +52,10 @@
 #% required : yes
 #%end
 #%option 
-#% key: output_prefix
+#% key: output_basename
 #% type: string
-#% description: Prefix for potential bioenergy (HF,CC and total)
+#% gisprompt: new
+#% description: Basename for potential bioenergy (HF,CC and total)
 #% key_desc : name
 #% required : yes
 #%end

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.recommended/r.green.biomassfor.recommended.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.recommended/r.green.biomassfor.recommended.py	2015-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.recommended/r.green.biomassfor.recommended.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -30,9 +30,10 @@
 #% required : yes
 #%end
 #%option 
-#% key: output_prefix
+#% key: output_basename
 #% type: string
-#% description: Prefix for final recommended maps of bioenergy (HF,CC and total)
+#% description: Basename for final recommended maps of bioenergy (HF,CC and total)
+#% gisprompt: new
 #% key_desc : name
 #% required : yes
 #%end

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.technical/r.green.biomassfor.technical.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.technical/r.green.biomassfor.technical.py	2015-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.technical/r.green.biomassfor.technical.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -71,9 +71,10 @@
 #% guisection: Base
 #%end
 #%option 
-#% key: output_prefix
+#% key: output_basename
 #% type: string
-#% description: Prefix for technical bioenergy (HF,CC and total)
+#% description: Basename for technical bioenergy (HF,CC and total)
+#% gisprompt: new
 #% key_desc : name
 #% required : yes
 #% guisection: Base

Modified: grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.theoretical/r.green.biomassfor.theoretical.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.theoretical/r.green.biomassfor.theoretical.py	2015-04-20 14:37:57 UTC (rev 65107)
+++ grass-addons/grass7/raster/r.green/r.green.biomassfor/r.green.biomassfor.theoretical/r.green.biomassfor.theoretical.py	2015-04-20 14:41:19 UTC (rev 65108)
@@ -51,9 +51,10 @@
 #% required : yes
 #%end
 #%option 
-#% key: output_prefix
+#% key: output_basename
 #% type: string
-#% description: Prefix for potential bioenergy (HF,CC and total)
+#% gisprompt: new
+#% description: Basename for potential bioenergy (HF,CC and total)
 #% key_desc : name
 #% required : yes
 #%end



More information about the grass-commit mailing list