Skip to content

Commit 2d2eb65

Browse files
author
Meghan Jones
authored
Support 1d array for outcols in grdtrack and blockm functions (#1524)
1 parent e50ae3f commit 2d2eb65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pygmt/src/blockm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _blockm(block_method, table, outfile, x, y, z, **kwargs):
8282
s="skiprows",
8383
w="wrap",
8484
)
85-
@kwargs_to_strings(R="sequence", i="sequence_comma")
85+
@kwargs_to_strings(R="sequence", i="sequence_comma", o="sequence_comma")
8686
def blockmean(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
8787
r"""
8888
Block average (x,y,z) data tables by mean estimation.
@@ -161,7 +161,7 @@ def blockmean(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
161161
s="skiprows",
162162
w="wrap",
163163
)
164-
@kwargs_to_strings(R="sequence", i="sequence_comma")
164+
@kwargs_to_strings(R="sequence", i="sequence_comma", o="sequence_comma")
165165
def blockmedian(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
166166
r"""
167167
Block average (x,y,z) data tables by median estimation.
@@ -246,7 +246,7 @@ def blockmedian(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
246246
s="skiprows",
247247
w="wrap",
248248
)
249-
@kwargs_to_strings(R="sequence", i="sequence_comma")
249+
@kwargs_to_strings(R="sequence", i="sequence_comma", o="sequence_comma")
250250
def blockmode(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
251251
r"""
252252
Block average (x,y,z) data tables by mode estimation.

pygmt/src/grdtrack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
s="skiprows",
4040
w="wrap",
4141
)
42-
@kwargs_to_strings(R="sequence", S="sequence", i="sequence_comma")
42+
@kwargs_to_strings(R="sequence", S="sequence", i="sequence_comma", o="sequence_comma")
4343
def grdtrack(points, grid, newcolname=None, outfile=None, **kwargs):
4444
r"""
4545
Sample grids at specified (x,y) locations.

0 commit comments

Comments
 (0)