d.profile
Plots profile of a transect.
d.profile [-r] map=name coordinates=east,north [,east,north,...] [--verbose] [--quiet] [--qq] [--ui]
Example:
d.profile map=name coordinates=0.0
grass.script.run_command("d.profile", map, coordinates, flags=None, verbose=None, quiet=None, superquiet=None)
Example:
gs.run_command("d.profile", map="name", coordinates=0.0)
grass.tools.Tools.d_profile(map, coordinates, flags=None, verbose=None, quiet=None, superquiet=None)
Example:
tools = Tools()
tools.d_profile(map="name", coordinates=0.0)
This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.
Parameters
map=name [required]
Raster map to be profiled
coordinates=east,north [,east,north,...] [required]
Profile coordinate pairs
-r
Use map's range recorded range
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
map : str, required
Raster map to be profiled
Used as: input, raster, name
coordinates : list[tuple[float, float]] | tuple[float, float] | list[float] | str, required
Profile coordinate pairs
Used as: input, coords, east,north
flags : str, optional
Allowed values: r
r
Use map's range recorded range
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
map : str, required
Raster map to be profiled
Used as: input, raster, name
coordinates : list[tuple[float, float]] | tuple[float, float] | list[float] | str, required
Profile coordinate pairs
Used as: input, coords, east,north
flags : str, optional
Allowed values: r
r
Use map's range recorded range
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
Returns:
result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None
will be returned.
DESCRIPTION
d.profile displays the profile for a specified transect.
SEE ALSO
d.where, r.profile, r.transect, wxGUI profile tool
AUTHOR
Glynn Clements This program has been completely re-written for 7.0. It bears no relation to the interactive d.profile module in previous versions.
SOURCE CODE
Available at: d.profile source code
(history)
Latest change: Thursday May 08 14:17:52 2025 in commit 3caa352