Skip to content

POC: WIP: Add gallery example OR tutorial showing the usage of pygmt.grdmask#4525

Draft
yvonnefroehlich wants to merge 12 commits intomainfrom
add-gallery-grdmask
Draft

POC: WIP: Add gallery example OR tutorial showing the usage of pygmt.grdmask#4525
yvonnefroehlich wants to merge 12 commits intomainfrom
add-gallery-grdmask

Conversation

@yvonnefroehlich
Copy link
Copy Markdown
Member

@yvonnefroehlich yvonnefroehlich commented Apr 9, 2026

Description of proposed changes

This PR aims to add a gallery example OR a tutorial showing the usage of pygmt.grdmask.

TODO

  • Different input formats: NumPy array, GeoPandas Dataframe, ASCII file
  • Several polygons
  • Circle
  • Geospacial object, e.g., US state
  • inside, outside, edge
  • Data points -> stand alone example ?
  • Coastlines -> pygmt.grdlandmask

Preview: https://pygmt-dev--4525.org.readthedocs.build/en/4525/gallery/images/grdmask.html

Guidelines

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

@yvonnefroehlich yvonnefroehlich added this to the 0.19.0 milestone Apr 9, 2026
@yvonnefroehlich yvonnefroehlich self-assigned this Apr 9, 2026
@yvonnefroehlich yvonnefroehlich added the documentation Improvements or additions to documentation label Apr 9, 2026
@yvonnefroehlich yvonnefroehlich marked this pull request as draft April 9, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant