[GRASS-SVN] r50970 - grass/trunk/raster/r.series

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 2 08:56:52 EST 2012


Author: neteler
Date: 2012-03-02 05:56:51 -0800 (Fri, 02 Mar 2012)
New Revision: 50970

Modified:
   grass/trunk/raster/r.series/r.series.html
Log:
+new example

Modified: grass/trunk/raster/r.series/r.series.html
===================================================================
--- grass/trunk/raster/r.series/r.series.html	2012-03-02 13:55:07 UTC (rev 50969)
+++ grass/trunk/raster/r.series/r.series.html	2012-03-02 13:56:51 UTC (rev 50970)
@@ -96,7 +96,8 @@
          out=res_slope,res_offset,res_coeff meth=slope,offset,detcoeff
 </pre></div>
 
-<p>Example for multiple aggregates to be computed in one run (3 resulting aggregates from two input maps):
+<p>Example for multiple aggregates to be computed in one run (3 resulting aggregates
+from two input maps):
 <div class="code"><pre>
 r.series in=one,two out=result_avg,res_slope,result_count meth=sum,slope,count
 </pre></div>
@@ -124,7 +125,15 @@
 r.series2 file=input.txt out=result_sum meth=sum
 </pre></div>
 
+<p>
+Example for counting the number of days above a certain temperature using 
+daily average maps ('???' as DOY wildcard):
+<div class="code"><pre>
+r.series input=`g.mlist rast pat="temp_2003_???_avg" sep=,` \
+         output=temp_2003_days_over_25deg range=25.0,100.0 method=count
+</pre></div>
 
+
 <h2>SEE ALSO</h2>
 
 <em><a href="g.mlist.html">g.mlist</a></em>,



More information about the grass-commit mailing list