[GRASS-SVN] r66024 - grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 25 22:41:56 PDT 2015


Author: zarch
Date: 2015-08-25 22:41:56 -0700 (Tue, 25 Aug 2015)
New Revision: 66024

Modified:
   grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.html
Log:
r.green.hydro.recommended: Manual cosmetics

Modified: grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.html
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.html	2015-08-26 05:41:00 UTC (rev 66023)
+++ grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.recommended/r.green.hydro.recommended.html	2015-08-26 05:41:56 UTC (rev 66024)
@@ -54,25 +54,31 @@
 2) The visibility zones from points of interest is excluded.<br><br>
 
 <blockquote>1) In the first case, the code used is :<br>
-<div class="code"><pre>r.green.hydro.recommended 
-discharge_current=currentdischarge
-discharge_natural=naturaldischarge
-percentage=25.00
-river=availablestreams 
-elevation=elevation 
-efficiency=0.8 
-len_plant=400 
-len_min=10 
-distance=150 
-area=nationalparks 
-buff=200 
-output_plant=potentialplants 
-output_point=potentialpoints<br>
-d.vect map= potentialpoints color=red<br>
-d.vect map= potentialplants color=blue<br>
-v.buffer input=nationalparks output=buff_park distance=200<br>
-d.vect map= buff_park color=255:179:179 fill_color=255:179:179 width=1<br></pre></div><br>
+<div class="code"><pre>
+r.green.hydro.recommended              \
+    discharge_current=currentdischarge \
+    discharge_natural=naturaldischarge \
+    percentage=25.00                   \
+    river=availablestreams             \
+    elevation=elevation                \
+    efficiency=0.8                     \
+    len_plant=400                      \
+    len_min=10                         \
+    distance=150                       \
+    area=nationalparks                 \
+    buff=200                           \
+    output_plant=potentialplants       \
+    output_point=potentialpoints
 
+d.vect map=potentialpoints color=red
+
+d.vect map=potentialplants color=blue
+
+v.buffer input=nationalparks output=buff_park distance=200
+
+d.vect map=buff_park color=255:179:179 fill_color=255:179:179 width=1
+</pre></div><br>
+
 This command calculates the energy potential for a range of plant length from 10 to 400 m and a distance between plants of 150 m. The areas with the national park and a buffer of 200 m around it are excluded. The discharge considered here is the current discharge of rivers subtracted by 25% of the natural discharge (the latter corresponds to the MFD).<br><br>
 
 <center>
@@ -81,25 +87,31 @@
 </center><br><br>
 
 2) In the second case, the code used is :<br>
-<div class="code"><pre>r.green.hydro.recommended 
-discharge_current=currentdischarge 
-mfd=mfd 
-river=availablestreams 
-elevation=elevation 
-efficiency=0.8 
-len_plant=400 
-len_min=10 
-distance=150 
-points_view=pointsinterest 
-n_points=1 
-output_plant=potentialplants 
-output_vis=vis 
-output_point=potentialpoints<br>
-d.vect map= potentialpoints color=red<br>
-d.vect map= potentialplants color=blue<br>
-d.vect map= pointsinterest color=green<br>
-d.vect map= vis color=144:224:144 fill_color=144:224:144 width=1<br></pre></div><br>
+<div class="code"><pre>
+r.green.hydro.recommended                \
+    discharge_current=currentdischarge   \
+    mfd=mfd                              \
+    river=availablestreams               \
+    elevation=elevation                  \
+    efficiency=0.8                       \
+    len_plant=400                        \
+    len_min=10                           \
+    distance=150                         \
+    points_view=pointsinterest           \
+    n_points=1                           \
+    output_plant=potentialplants         \
+    output_vis=vis                       \
+    output_point=potentialpoints
 
+d.vect map= potentialpoints color=red
+
+d.vect map= potentialplants color=blue
+
+d.vect map= pointsinterest color=green
+
+d.vect map= vis color=144:224:144 fill_color=144:224:144 width=1
+</pre></div><br>
+
 This command calculates the energy potential for a plant length range from 10 to 400 m and a distance between plants of 150 m. The visibility zones from each point of interest are excluded. The discharge considered here is the current discharge of rivers subtracted by the MFD. The MFD was calculated previously and computed in a raster map.<br><br>
 
 <center>



More information about the grass-commit mailing list