Add blockmedian and surface gallery example - #4771
Merged
seisman merged 13 commits intoAug 12, 2026
Merged
Conversation
seisman
reviewed
Jul 28, 2026
seisman
reviewed
Jul 28, 2026
updated Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
updated Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
updated Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
Contributor
Author
|
@seisman , any update |
Contributor
Author
|
@seisman, any update on this branch? |
seisman
reviewed
Aug 6, 2026
seisman
reviewed
Aug 9, 2026
seisman
reviewed
Aug 9, 2026
seisman
approved these changes
Aug 11, 2026
seisman
left a comment
Member
There was a problem hiding this comment.
Looks good. I'll merge it in 24 hours, if no further comments from others.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
Adds a gallery example showing how to reduce irregular bathymetry observations
with
pygmt.blockmedianbefore interpolating them withpygmt.surface.The example uses the built-in bathymetry sample dataset and compares the reduced
observations with the resulting grid.
Fixes #1352
Preview: https://pygmt-dev--4771.org.readthedocs.build/en/4771/gallery/images/gridding_with_surface.html
Guidelines
Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code