Skip to content

Commit

Permalink
blockmean & blockmode: Fix the alias of 'd' to 'nodata' (GenericMappi…
Browse files Browse the repository at this point in the history
…ngTools#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 GenericMappingTools#1456 (after v0.4.1), blockmean was wrapped in GenericMappingTools#1092 but the wrong alias was added in GenericMappingTools#1500 (after v0.4.1). Thus, the change won't go into the deprecation cycle.
  • Loading branch information
seisman authored and Josh Sixsmith committed Dec 21, 2022
1 parent ddc8115 commit c81f3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygmt/src/blockm.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _blockm(block_method, table, outfile, x, y, z, **kwargs):
V="verbose",
a="aspatial",
b="binary",
d="data",
d="nodata",
e="find",
f="coltypes",
h="header",
Expand Down Expand Up @@ -232,7 +232,7 @@ def blockmedian(table=None, outfile=None, *, x=None, y=None, z=None, **kwargs):
V="verbose",
a="aspatial",
b="binary",
d="data",
d="nodata",
e="find",
f="coltypes",
h="header",
Expand Down

0 comments on commit c81f3e9

Please sign in to comment.