[GRASS-SVN] r36659 - grass/trunk/raster/simwe/r.sim.water
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 9 06:21:24 EDT 2009
Author: neteler
Date: 2009-04-09 06:21:23 -0400 (Thu, 09 Apr 2009)
New Revision: 36659
Added:
grass/trunk/raster/simwe/r.sim.water/r_sim_water.png
Modified:
grass/trunk/raster/simwe/r.sim.water/r.sim.water.html
Log:
example added
Modified: grass/trunk/raster/simwe/r.sim.water/r.sim.water.html
===================================================================
--- grass/trunk/raster/simwe/r.sim.water/r.sim.water.html 2009-04-09 09:36:12 UTC (rev 36658)
+++ grass/trunk/raster/simwe/r.sim.water/r.sim.water.html 2009-04-09 10:21:23 UTC (rev 36659)
@@ -48,7 +48,7 @@
through the structure (the values will be 0-1).
<p>
-Output includes a water depth raster map <i>depth</i> in [m], anda water discharge
+Output includes a water depth raster map <i>depth</i> in [m], and a water discharge
raster map <i>disch</i> in [m3/s]. Error of the numerical solution can be analyzed using
the <i>err</i> raster map (the resulting water depth is an average, and err is its RMSE).
The output vector points map <i>outwalk</i> can be used to analyze and visualize
@@ -122,6 +122,32 @@
are useful both for everyday exploratory work using a desktop computer and
for large, cutting-edge applications using high performance computing.
+<h2>EXAMPLE</h2>
+
+Spearfish region:
+
+<div class="code"><pre>
+g.region rast=elevation.10m -p
+r.slope.aspect elevation=elevation.10m elev_dx=elev_dx elev_dy=elev_dy
+
+# synthetic maps
+r.mapcalc "rain = if(elevation.10m, 5.0, null())"
+r.mapcalc "manning = if(elevation.10m, 0.05, null())"
+r.mapcalc "infilt = if(elevation.10m, 0.0, null())"
+
+# simulate
+r.sim.water elevin=elevation.10m elev_dxin=elev_dx elev_dyin=elev_dy \
+ rain=rain manin=manning infil=infilt \
+ nwalk=5000000 depth=depth
+</pre></div>
+
+<p>
+<center>
+<img src="r_sim_water.png" alt="r.sim.water generated depth map"><br>
+<i>Water depth map in the Spearfish (SD) area</i>
+</center>
+
+
<h2>ERROR MESSAGES</h2>
If the module fails with
Added: grass/trunk/raster/simwe/r.sim.water/r_sim_water.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/raster/simwe/r.sim.water/r_sim_water.png
___________________________________________________________________
Name: svn:mime-type
+ image/png
More information about the grass-commit
mailing list