Skip to content

Commit bae11a6

Browse files
committed
Alias dfile (D) for grdtrack
1 parent b475283 commit bae11a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pygmt/src/grdtrack.py

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
@use_alias(
1919
A="resampling",
2020
C="crossprofile",
21+
D="dfile",
2122
E="profile",
2223
R="region",
2324
N="no_skip",
@@ -104,6 +105,11 @@ def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
104105
user unit. The output columns will be *lon*, *lat*, *dist*, *azimuth*,
105106
*z1*, *z2*, ..., *zn* (The *zi* are the sampled values for each of the
106107
*n* grids).
108+
dfile : str
109+
In concert with ``crossprofile`` we can save the (possibly resampled)
110+
original lines to *dfile* [Default only saves the cross-profiles]. The
111+
columns will be *lon*, *lat*, *dist*, *azimuth*, *z1*, *z2*, ...
112+
(sampled value for each grid).
107113
profile : str
108114
*line*\ [,\ *line*,...][**+a**\ *az*][**+c**][**+d**][**+g**]\
109115
[**+i**\ *inc*][**+l**\ *length*][**+n**\ *np*][**+o**\ *az*]\

0 commit comments

Comments
 (0)