[GRASS-SVN] r71547 - grass/branches/releasebranch_7_2/temporal/t.rast.algebra
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 10 01:27:06 PDT 2017
Author: neteler
Date: 2017-10-10 01:27:06 -0700 (Tue, 10 Oct 2017)
New Revision: 71547
Modified:
grass/branches/releasebranch_7_2/temporal/t.rast.algebra/t.rast.algebra.html
Log:
t.rast.algebra manual: minor HTML fixes
Modified: grass/branches/releasebranch_7_2/temporal/t.rast.algebra/t.rast.algebra.html
===================================================================
--- grass/branches/releasebranch_7_2/temporal/t.rast.algebra/t.rast.algebra.html 2017-10-10 08:27:00 UTC (rev 71546)
+++ grass/branches/releasebranch_7_2/temporal/t.rast.algebra/t.rast.algebra.html 2017-10-10 08:27:06 UTC (rev 71547)
@@ -130,9 +130,11 @@
the temporal selection operator, the topological relations, that must be separated
by the logical OR operator <b>|</b> and the temporal extent operator.
All three parts are separated by comma and surrounded by curly braces:
-{"temporal selection operator", "topological relations", "temporal operator"} <p>
+{"temporal selection operator", "topological relations", "temporal operator"}
+<p>
-Examples:
+<b>Examples:</b>
+
<div class="code"><pre>
C = A {:, equals} B
C = A {!:, equals} B
@@ -259,7 +261,9 @@
<div class="code"><pre>
|| -> | and && -> &
</pre></div>
-Examples:
+
+
+<b>Examples:</b>
<div class="code"><pre>
Condition 1 {||, equal, r} Condition 2
Condition 1 {&&, equal|during, l} Condition 2
@@ -407,10 +411,11 @@
Refers to the cell one column to the right of the current cell in the
second predecessor map.
-<h3>Examples: </h3>
+<h2>EXAMPLES</h2>
+
Sum maps from space time dataset A with maps from space time dataset
B which have equal time stamps and are temporary before Jan. 1. 2005 and
-store them in space time dataset D.
+store them in space time dataset D:
<div class="code"><pre>
D = if(start_date(A) < "2005-01-01", A + B)
</pre></div>
@@ -420,17 +425,20 @@
<div class="code"><pre>
C = A + B
</pre></div>
+
Same expression with explicit definition of the temporal topology relation
and temporal operators:
<div class="code"><pre>
C = A {+,equal,l} B
</pre></div>
+
Select all cells from STRDS B with equal temporal relations to STRDS A, if the
cells of A are in the range of [100.0, 1600] of time intervals that have more
then 30 days (Jan, Mar, Mai, Jul, Aug, Oct, Dec):
<div class="code"><pre>
C = if(A > 100 && A < 1600 && td(A) > 30, B)
</pre></div>
+
Same expression with explicit definition of the temporal topology relation
and temporal operators:
<div class="code"><pre>
@@ -444,17 +452,20 @@
<div class="code"><pre>
C = if(Temp > 10.0, Prec / 3600.0 /24.0 / td(Prec))
</pre></div>
+
Same expression with explicit definition of the temporal topology relation
and temporal operators:
<div class="code"><pre>
C = if({equal}, Temp > 10.0, Prec / 3600.0 / 24.0 {/,equal,l} td(Prec))
</pre></div>
+
Compute the mean value of all maps from STRDS A that are located during time
intervals of STRDS B if more than one map of A is contained in an interval
of B, use A otherwise, the resulting time intervals are either from B or A:
<div class="code"><pre>
C = if(B {#,contain} A > 1, (B {+,contain,l} A - B) / (B {#,contain} A), A)
</pre></div>
+
Same expression with explicit definition of the temporal topology relation
and temporal operators:
<div class="code"><pre>
@@ -465,11 +476,11 @@
<h2>SEE ALSO</h2>
<em>
-<a href="r.mapcalc.html">r.mapcalc</a>
-<a href="t.vect.algebra.html">t.vect.algebra</a>
-<a href="t.rast3d.algebra.html">t.rast3d.algebra</a>
-<a href="t.select.html">t.select</a>
-<a href="t.rast3d.mapcalc.html">t.rast3d.mapcalc</a>
+<a href="r.mapcalc.html">r.mapcalc</a>,
+<a href="t.vect.algebra.html">t.vect.algebra</a>,
+<a href="t.rast3d.algebra.html">t.rast3d.algebra</a>,
+<a href="t.select.html">t.select</a>,
+<a href="t.rast3d.mapcalc.html">t.rast3d.mapcalc</a>,
<a href="t.rast.mapcalc.html">t.rast.mapcalc</a>
</em>
<p>
More information about the grass-commit
mailing list