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

Update/add grdlandmask parameters and aliases #1423

Merged
merged 22 commits into from
Aug 20, 2021
Merged

Conversation

michaelgrund
Copy link
Member

Description of proposed changes

As discussed in #1421 this PR adds further parameters and corresponding aliases to grdlandmask.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

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

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@michaelgrund michaelgrund added enhancement Improving an existing feature skip-changelog Skip adding Pull Request to changelog labels Aug 9, 2021
@michaelgrund michaelgrund added this to the 0.5.0 milestone Aug 9, 2021
@michaelgrund michaelgrund self-assigned this Aug 9, 2021
@michaelgrund michaelgrund marked this pull request as draft August 9, 2021 05:34
@michaelgrund michaelgrund linked an issue Aug 9, 2021 that may be closed by this pull request
@michaelgrund michaelgrund changed the title WIP: Update/add grdlandmask parameters and aliases Update/add grdlandmask parameters and aliases Aug 11, 2021
@michaelgrund michaelgrund marked this pull request as ready for review August 11, 2021 07:11
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @michaelgrund! By the way, could you swap the order of grdlandmask and grdgradient at https://github.com/GenericMappingTools/pygmt/blame/v0.4.1/doc/api/index.rst#L95-L96? Just noticed they weren't in alphabetical order.

pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
@weiji14 weiji14 removed the enhancement Improving an existing feature label Aug 11, 2021
pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
Copy link
Member Author

@michaelgrund michaelgrund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @seisman!

pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
@michaelgrund
Copy link
Member Author

/format

pygmt/src/grdlandmask.py Outdated Show resolved Hide resolved
@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Aug 18, 2021
@michaelgrund michaelgrund merged commit 81db512 into main Aug 20, 2021
@michaelgrund michaelgrund deleted the update-grdlandmask branch August 20, 2021 11:41
@michaelgrund michaelgrund removed the final review call This PR requires final review and approval from a second reviewer label Aug 20, 2021
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing (required) parameters in grdlandmask
4 participants