Skip to content

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=east,north

grass.script.run_command("d.profile", map, coordinates, flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("d.profile", map="name", coordinates=east,north)

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: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

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