[GRASS-SVN] r67572 - in grass/trunk/temporal: t.rast.algebra t.rast.neighbors t.rast.series t.register
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 12 15:28:48 PST 2016
Author: neteler
Date: 2016-01-12 15:28:48 -0800 (Tue, 12 Jan 2016)
New Revision: 67572
Modified:
grass/trunk/temporal/t.rast.algebra/t.rast.algebra.html
grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html
grass/trunk/temporal/t.rast.series/t.rast.series.html
grass/trunk/temporal/t.register/t.register.html
Log:
t.rast.series manual: added new examples; HTML cleanup (contributed by Vero Andreo)
Modified: grass/trunk/temporal/t.rast.algebra/t.rast.algebra.html
===================================================================
--- grass/trunk/temporal/t.rast.algebra/t.rast.algebra.html 2016-01-12 23:22:31 UTC (rev 67571)
+++ grass/trunk/temporal/t.rast.algebra/t.rast.algebra.html 2016-01-12 23:28:48 UTC (rev 67572)
@@ -1,7 +1,7 @@
<h2>DESCRIPTION</h2>
-t.rast.algebra performs temporal and spatial map algebra operations on space time raster datasets (STRDS)
-by using the temporal raster algebra.
+t.rast.algebra performs temporal and spatial map algebra operations on
+space time raster datasets (STRDS) by using the temporal raster algebra.
<h3>PROGRAM USE</h3>
The module expects an <b>expression</b> as input parameter in the following form: <p>
@@ -331,10 +331,8 @@
log(x) natural log of x
sqrt(x) square root of x
tan(x) tangent of x (x is in degrees)
-round(x) round x to nearest integer
-sin(x) sine of x (x is in degrees)
-sqrt(x) square root of x
-tan(x) tangent of x (x is in degrees)
+round(x) round x to nearest integer
+sin(x) sine of x (x is in degrees)
isnull(x) check if x = NULL
isntnull(x) check if x is not NULL
null set null value
Modified: grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html
===================================================================
--- grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html 2016-01-12 23:22:31 UTC (rev 67571)
+++ grass/trunk/temporal/t.rast.neighbors/t.rast.neighbors.html 2016-01-12 23:28:48 UTC (rev 67572)
@@ -76,7 +76,7 @@
+----------------------------------------------------------------------------+
-# new now compare the values between original data and the smoothed one
+# now compare the values between original data and the smoothed one
t.rast.list input=smooth_tempmean_monthly columns=name,start_time,min,max
t.rast.list input=smooth_tempmean_monthly columns=name,start_time,min,max
Modified: grass/trunk/temporal/t.rast.series/t.rast.series.html
===================================================================
--- grass/trunk/temporal/t.rast.series/t.rast.series.html 2016-01-12 23:22:31 UTC (rev 67571)
+++ grass/trunk/temporal/t.rast.series/t.rast.series.html 2016-01-12 23:28:48 UTC (rev 67572)
@@ -15,26 +15,48 @@
<h2>EXAMPLE</h2>
-Example for monthly aggregation with complex <b>where</b> statements
-to aggregate a single month in a time series of several years:
+Estimate average temperature for the whole time series
<div class="code"><pre>
-# January averages
+t.rast.series input=tempmean_monthly output=tempmean_general method=average
+</pre></div>
+
+Estimate average temperature for all January maps in the time series, the
+so-called climatology
+
+<div class="code"><pre>
t.rast.series input=tempmean_monthly \
- output=jan_average method=average \
+ method=average output=tempmean_january \
+ where="strftime('%m', start_time)='01'"
+
+# equivalently, we can use
+t.rast.series input=tempmean_monthly \
+ output=tempmean_january method=average \
where="start_time = datetime(start_time, 'start of year', '0 month')"
-# February averages
+# if we want also February and March averages
+
t.rast.series input=tempmean_monthly \
- output=feb_average method=average \
+ output=tempmean_february method=average \
where="start_time = datetime(start_time, 'start of year', '1 month')"
-# March averages
t.rast.series input=tempmean_monthly \
- output=mar_average method=average \
+ output=tempmean_march method=average \
where="start_time = datetime(start_time, 'start of year', '2 month')"
</pre></div>
+Generalizing a bit, we can estimate monthly climatologies for all months
+by means of different methods
+
+<div class="code"><pre>
+for i in `seq -w 1 12` ; do
+ for m in average stddev minimum maximum ; do
+ t.rast.series input=tempmean_monthly method=${m} output=tempmean_${m}_${i} \
+ where="strftime('%m', start_time)='${i}'"
+ done
+done
+</pre></div>
+
<h2>SEE ALSO</h2>
<em>
Modified: grass/trunk/temporal/t.register/t.register.html
===================================================================
--- grass/trunk/temporal/t.register/t.register.html 2016-01-12 23:22:31 UTC (rev 67571)
+++ grass/trunk/temporal/t.register/t.register.html 2016-01-12 23:28:48 UTC (rev 67572)
@@ -187,6 +187,7 @@
<em>
<a href="t.create.html">t.create</a>,
<a href="t.info.html">t.info</a>
+<a href="https://grasswiki.osgeo.org/wiki/Temporal_data_processing/maps_registration">Maps registration examples in Temporal data processing Wiki</a>
</em>
<h2>AUTHOR</h2>
More information about the grass-commit
mailing list