Skip to content

t.rast3d.algebra

Apply temporal and spatial operations on space time 3D raster datasets using temporal 3D raster algebra.

t.rast3d.algebra [-sng] expression=string basename=string [nprocs=integer] [--verbose] [--quiet] [--qq] [--ui]

Example:

t.rast3d.algebra expression=string basename=string

grass.script.parse_command("t.rast3d.algebra", expression, basename, nprocs=1, flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.parse_command("t.rast3d.algebra", expression="string", basename="string")

Parameters

expression=string [required]
    Algebraic expression for temporal and spatial analysis of space time 3D raster datasets
basename=string [required]
    Basename of the new generated output maps
    A numerical suffix separated by an underscore will be attached to create a unique identifier
nprocs=integer
    Number of r3.mapcalc processes to run in parallel
    Default: 1
-s
    Check the spatial topology of temporally related maps and process only spatially related maps
-n
    Register Null maps
-g
    Use granularity sampling instead of the temporal topology approach
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

expression : str, required
    Algebraic expression for temporal and spatial analysis of space time 3D raster datasets
basename : str, required
    Basename of the new generated output maps
    A numerical suffix separated by an underscore will be attached to create a unique identifier
nprocs : int, optional
    Number of r3.mapcalc processes to run in parallel
    Default: 1
flags : str, optional
    Allowed values: s, n, g
    s
        Check the spatial topology of temporally related maps and process only spatially related maps
    n
        Register Null maps
    g
        Use granularity sampling instead of the temporal topology approach
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

t.rast3d.algebra performs temporal and spatial map algebra operations on space time 3D raster datasets (STR3DS) by using the temporal 3D raster algebra.

NOTES

The module expects an expression as input parameter in the following form:

"result = expression"

The statement structure is exact the same as of t.rast.algebra, see t.rast.algebra but allows four-dimensional indexing.

REFERENCES

PLY(Python-Lex-Yacc)

SEE ALSO

t.rast.algebra, t.rast3d.mapcalc, r.mapcalc, t.vect.algebra, t.select

AUTHORS

Thomas Leppelt, Sören Gebbert, Thünen Institute of Climate-Smart Agriculture

SOURCE CODE

Available at: t.rast3d.algebra source code (history)
Latest change: Saturday Mar 01 11:59:08 2025 in commit d310a3c