Skip to content

Commit 80c6a6f

Browse files
willschlitzerMeghan Jones
andauthored
Apply suggestions from code review
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
1 parent 41507e2 commit 80c6a6f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pygmt/src/xyz2grd.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@
2020
R="region",
2121
V="verbose",
2222
Z="convention",
23+
b="binary",
24+
d="nodata",
25+
e="find",
26+
f="coltypes",
27+
h="header",
2328
i="incols",
2429
r="registration",
30+
w="wrap",
2531
)
2632
@kwargs_to_strings(R="sequence")
2733
def xyz2grd(data=None, x=None, y=None, z=None, **kwargs):
@@ -104,10 +110,15 @@ def xyz2grd(data=None, x=None, y=None, z=None, **kwargs):
104110
both *date*\ **T**\ *clock* and *ddd:mm:ss[.xx]* formats but expects
105111
each input record to have a single value, while the former can handle
106112
multiple values per record but can only parse regular floating point
107-
values. Translate incoming *z*-values via the **-i**\ 0 option and
108-
needed modifiers.
113+
values. Translate incoming *z*-values via the ``incols`` parameter.
114+
{b}
115+
{d}
116+
{e}
117+
{f}
118+
{h}
109119
{i}
110120
{r}
121+
{w}
111122
112123
Returns
113124
-------

0 commit comments

Comments
 (0)