1r3.gradient(1)              GRASS GIS User's Manual             r3.gradient(1)
2
3
4

NAME

6       r3.gradient   - Computes gradient of a 3D raster map and outputs gradi‐
7       ent components as three 3D raster maps.
8

KEYWORDS

10       raster3d, gradient, voxel
11

SYNOPSIS

13       r3.gradient
14       r3.gradient --help
15       r3.gradient                       input=name                       out‐
16       put=grad_x,grad_y,grad_z[,grad_x,grad_y,grad_z,...]             [block‐
17       size=size_x,size_y,size_z[,size_x,size_y,size_z,...]]     [--overwrite]
18       [--help]  [--verbose]  [--quiet]  [--ui]
19
20   Flags:
21       --overwrite
22           Allow output files to overwrite existing files
23
24       --help
25           Print usage summary
26
27       --verbose
28           Verbose module output
29
30       --quiet
31           Quiet module output
32
33       --ui
34           Force launching GUI dialog
35
36   Parameters:
37       input=name [required]
38           Name of input 3D raster map
39
40       output=grad_x,grad_y,grad_z[,grad_x,grad_y,grad_z,...] [required]
41           Name for output 3D raster map(s)
42
43       blocksize=size_x,size_y,size_z[,size_x,size_y,size_z,...]
44           Size of blocks
45           Default: 30,30,20
46

DESCRIPTION

48       Module r3.gradient computes gradient from a 3D raster map.  Results are
49       three 3D raster maps describing the x, y, z components of the  computed
50       gradient field.
51

EXAMPLES

53       # create a 3D raster
54       g.region s=0 n=100 w=0 e=100 b=0 t=100 -p
55       r3.mapcalc "test_gradient = sqrt(row()*row() +col()*col()+ depth()*depth())"
56       # compute gradient
57       r3.gradient input=test_gradient output=grad_x,grad_y,grad_z
58

SEE ALSO

60        r3.flow, r.flow
61

AUTHOR

63       Anna Petrasova, NCSU OSGeoREL, developed during GSoC 2014.
64

SOURCE CODE

66       Available at: r3.gradient source code (history)
67
68       Accessed: Saturday Jan 21 21:15:45 2023
69
70       Main  index | 3D raster index | Topics index | Keywords index | Graphi‐
71       cal index | Full index
72
73       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
74
75
76
77GRASS 8.2.1                                                     r3.gradient(1)
Impressum