Skip to content

Commit 6aba9ae

Browse files
authored
blockmean & blockmode: Fix the alias of 'd' to 'nodata' (#1563)
The alias of d is nodata in other modules, but was incorrectly set to data in blockmean and blockmode. This PR fixes the problem. blockmode was wrapped in #1456 (after v0.4.1), blockmean was wrapped in #1092 but the wrong alias was added in #1500 (after v0.4.1). Thus, the change won't go into the deprecation cycle.
1 parent b0335cd commit 6aba9ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/src/blockm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _blockm(block_method, table, outfile, x, y, z, **kwargs):
7272
V="verbose",
7373
a="aspatial",
7474
b="binary",
75-
d="data",
75+
d="nodata",
7676
e="find",
7777
f="coltypes",
7878
h="header",
@@ -232,7 +232,7 @@ def blockmedian(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
232232
V="verbose",
233233
a="aspatial",
234234
b="binary",
235-
d="data",
235+
d="nodata",
236236
e="find",
237237
f="coltypes",
238238
h="header",

0 commit comments

Comments
 (0)