@@ -26,7 +26,7 @@ def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
26
26
table with the interpolated values added as (one or more) new columns. A
27
27
bicubic [Default], bilinear, B-spline or nearest-neighbor interpolation is
28
28
used, requiring boundary conditions at the limits of the region (see
29
- * interpolation* ; Default uses “natural” conditions (second partial
29
+ `` interpolation`` ; Default uses “natural” conditions (second partial
30
30
derivative normal to edge is zero) unless the grid is automatically
31
31
recognized as periodic.)
32
32
@@ -46,12 +46,12 @@ def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
46
46
format).
47
47
48
48
newcolname : str
49
- Required if ' points' is a pandas.DataFrame. The name for the new column
50
- in the track pandas.DataFrame table where the sampled values will be
51
- placed.
49
+ Required if `` points`` is a :class:` pandas.DataFrame` . The name for the
50
+ new column in the track :class:` pandas.DataFrame` table where the
51
+ sampled values will be placed.
52
52
53
53
outfile : str
54
- Required if ' points' is a file. The file name for the output ASCII
54
+ Required if `` points`` is a file. The file name for the output ASCII
55
55
file.
56
56
57
57
{V}
@@ -61,11 +61,12 @@ def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
61
61
Returns
62
62
-------
63
63
track: pandas.DataFrame or None
64
- Return type depends on whether the outfile parameter is set:
64
+ Return type depends on whether the `` outfile`` parameter is set:
65
65
66
- - pandas.DataFrame table with (x, y, ..., newcolname) if outfile is not
67
- set
68
- - None if outfile is set (track output will be stored in outfile)
66
+ - :class:`pandas.DataFrame` table with (x, y, ..., newcolname) if
67
+ ``outfile`` is not set
68
+ - None if ``outfile`` is set (track output will be stored in file set
69
+ by ``outfile``)
69
70
"""
70
71
71
72
with GMTTempFile (suffix = ".csv" ) as tmpfile :
0 commit comments