[GRASS-SVN] r59546 - in grass/branches/releasebranch_7_0/temporal: t.rast.aggregate t.rast.list t.rast.series

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 1 14:39:33 PDT 2014


Author: neteler
Date: 2014-04-01 14:39:32 -0700 (Tue, 01 Apr 2014)
New Revision: 59546

Modified:
   grass/branches/releasebranch_7_0/temporal/t.rast.aggregate/t.rast.aggregate.html
   grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.html
   grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.html
Log:
t.* manuals: examples from ML added

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.aggregate/t.rast.aggregate.html
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.aggregate/t.rast.aggregate.html	2014-04-01 21:34:14 UTC (rev 59545)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.aggregate/t.rast.aggregate.html	2014-04-01 21:39:32 UTC (rev 59546)
@@ -35,8 +35,6 @@
 
 <h2>EXAMPLES</h2>
 
-<h3>EXAMPLE 1</h3>
-
 In this example, we create 7 raster maps that will be registered in a single space time
 raster dataset named <em>precipitation_daily</em> using a daily temporal granularity.
 The names of the raster maps are stored in a text file that is used for raster map registration. 
@@ -168,28 +166,6 @@
 </pre></div>
 
 
-<h3>EXAMPLE 2</h3>
-
-Example for monthly aggregation:
-
-<div class="code"><pre>
-# January averages
-t.rast.series input=monthly_aggregates \
-    output=jan_average method=average \
-    where="start_time = datetime(start_time, 'start_of_year', '0 month')"
-
-# February averages
-t.rast.series input=monthly_aggregates \
-    output=feb_average method=average \
-    where="start_time = datetime(start_time, 'start_of_year', '1 month')"
-
-# March averages
-t.rast.series input=monthly_aggregates \
-    output=mar_average method=average \
-    where="start_time = datetime(start_time, 'start_of_year', '2 month')"
-</pre></div>
-
-
 <h2>SEE ALSO</h2>
 
 <em>

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.html
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.html	2014-04-01 21:34:14 UTC (rev 59545)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.list/t.rast.list.html	2014-04-01 21:39:32 UTC (rev 59546)
@@ -2,6 +2,23 @@
 
 TBD.
 
+<h2>EXAMPLE</h2>
+
+Example for checking which maps were used in a time series operation
+(e.g. <em>t.rast.series perform</em>):
+
+<div class="code"><pre>
+t.rast.list input=precipitation_1950_2013_monthly_mm \
+  where="start_time = datetime(start_time, 'start of year', '0 month')"
+
+precipitation_monthly_mm_0 soeren 1950-01-01 00:00:00 1950-02-01 00:00:00
+precipitation_monthly_mm_12 soeren 1951-01-01 00:00:00 1951-02-01 00:00:00
+...
+precipitation_monthly_mm_732 soeren 2011-01-01 00:00:00 2011-02-01 00:00:00
+precipitation_monthly_mm_744 soeren 2012-01-01 00:00:00 2012-02-01 00:00:00
+precipitation_monthly_mm_756 soeren 2013-01-01 00:00:00 2013-02-01 00:00:00
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.html
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.html	2014-04-01 21:34:14 UTC (rev 59545)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.html	2014-04-01 21:39:32 UTC (rev 59546)
@@ -2,6 +2,28 @@
 
 TBD.
 
+
+<h2>EXAMPLE</h2>
+
+Example for monthly aggregation:
+
+<div class="code"><pre>
+# January averages
+t.rast.series input=monthly_aggregates \
+    output=jan_average method=average \
+    where="start_time = datetime(start_time, 'start of year', '0 month')"
+
+# February averages
+t.rast.series input=monthly_aggregates \
+    output=feb_average method=average \
+    where="start_time = datetime(start_time, 'start of year', '1 month')"
+
+# March averages
+t.rast.series input=monthly_aggregates \
+    output=mar_average method=average \
+    where="start_time = datetime(start_time, 'start of year', '2 month')"
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list