Changes between Version 13 and Version 14 of Grass7/TemporalGISAlgebra
- Timestamp:
- Jul 5, 2013, 8:38:16 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Grass7/TemporalGISAlgebra
v13 v14 167 167 168 168 The temporal raster algebra uses all operators and functions of the temporal 169 algebra and adds a subset of the operators and function of r.mapcalc.169 algebra and adds a subset of the arithmetic operators and function of r.mapcalc. 170 170 171 171 The method is the same as for the temporal vector algebra. 172 172 Hence new spatio-temporal operators are defined that include temporal topology relations, 173 temporal operators and spatial operators. 174 173 temporal operators and arithmetic operators. 175 174 176 175 Examples: … … 179 178 C = A + B 180 179 }}} 181 Same expression with explicit temporal topology and temporal interval processingoperators.180 Same expression with explicit definition of the temporal topology relation and temporal operators. 182 181 {{{ 183 182 C = A {equal,=+} B 184 183 }}} 185 Select all cells from STRDS B with equal 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 186 {{{ 187 C = if(equal, (A > 100 && A < 1600) {equal,&&} td(A) > 30, B) 188 }}} 184 Select all cells from STRDS B with equal relations to STRDS A if the cells 185 of A are in the range of [100.0, 1600] of time intervals that have more then 30 days 186 {{{ 187 C = if(A > 100 && A < 1600 && td(A) > 30, B) 188 189 same as: 190 191 C = if(equal, A > 100 && A < 1600 {equal,&&} td(A) > 30, B) 192 }}} 193 Compute the recharge in meter per second for all maps of monthly precipitation STRDS "Prec" 194 if the monthly mean temperature specified in STRDS "Temp" is higher than 10 degrees. STRDS "Prec" and "Temp" have equal time stamps, the number of days per interval is computed using the td() function that has as argument the STRDS "Prec": 195 {{{ 196 C = if(Temp > 10.0, Prec / 3600.0 /24.0 / td(Prec)) 197 198 same as: 199 200 C = if(equal, Temp > 10.0, Prec / 3600.0 / 24.0 {equal,=/} td(Prec)) 201 }}} 189 202 190 203 All supported operators and functions are documented below. 191 192 204 = Overview of all supported spatio-temporal operators and functions = 193 205