Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alias for blockmean's -S parameter #1601

Merged
merged 12 commits into from
Nov 8, 2021
7 changes: 7 additions & 0 deletions pygmt/src/blockm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _blockm(block_method, data, x, y, z, outfile, **kwargs):
@use_alias(
I="spacing",
R="region",
S="restype",
V="verbose",
a="aspatial",
b="binary",
Expand Down Expand Up @@ -111,6 +112,12 @@ def blockmean(data=None, x=None, y=None, z=None, outfile=None, **kwargs):

{I}

restype: str
Result type calculated by blockmean. Use **n** to report the number of
michaelgrund marked this conversation as resolved.
Show resolved Hide resolved
input points inside each block, **s** to report the sum of all z-values
inside a block, **w** to report the sum of weights [Default or **m**
reports mean value].

{R}

outfile : str
Expand Down