-
Notifications
You must be signed in to change notification settings - Fork 224
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
Expand table-like input options for pygmt.surface #1455
Expand table-like input options for pygmt.surface #1455
Conversation
Co-authored-by: Meghan Jones <[email protected]>
/format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Can you please remove this line from /pygmt/src/surface.py in your branch? This function is no longer used in the module, so it does not need to be imported:
Line 12 in 7a94b68
dummy_context, |
Ping @daroari to address the comment #1455 (review) |
/format |
Hi @daroari, do you think you will have time to finish this pull request? It would be great to get it added to PyGMT 😄 If not, we can either close the PR or I could push the remaining changes needed to this branch, whichever you prefer. |
Hi @meghanrjones. Sorry for the delayed response. Would you please push the remaining changes? I was going to do it, but I am not able to do it right now. Sorry for the inconvenience :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thumbs up from me. Technically, it would be nice to have a unit test to make sure this works (e.g. using pytest.mark.parametrize
like for blockm* in #1523), but ok to do it another time too 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…s#1455) * Expand table-like input options for pygmt.surface * Remove unused imports and variables * Update docstring for data Co-authored-by: Meghan Jones <[email protected]> Co-authored-by: Dongdong Tian <[email protected]>
Description of proposed changes
This PR expands the table-like input options for pygmt.surface
Closes #1443
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version