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
10 changes: 10 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="summary",
V="verbose",
a="aspatial",
b="binary",
Expand Down Expand Up @@ -111,6 +112,15 @@ def blockmean(data=None, x=None, y=None, z=None, outfile=None, **kwargs):

{I}

summary: str
michaelgrund marked this conversation as resolved.
Show resolved Hide resolved
[**m**\|\ **n**\|\ **s**\|\ **w**].
Type of summary values calculated by blockmean.

- **n**: report the number of input points inside each block
- **s**: report the sum of all z-values inside a block
- **w**: report the sum of weights
- **m**: report mean value [Default]
seisman marked this conversation as resolved.
Show resolved Hide resolved
michaelgrund marked this conversation as resolved.
Show resolved Hide resolved

{R}

outfile : str
Expand Down