Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Apr 18, 2023

Description of proposed changes

Wrap the GMT_Get_Common API function.

Wrapping this function is a necessary step toward addressing other issues/enhancements:

@seisman seisman added this to the 0.10.0 milestone Apr 18, 2023
@seisman seisman added enhancement Improving an existing feature needs review This PR has higher priority and needs review. labels Apr 18, 2023
@seisman seisman marked this pull request as ready for review April 18, 2023 00:56
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Apr 18, 2023
@seisman
Copy link
Member Author

seisman commented Apr 18, 2023

Hopefully, this PR can get another review before I merge it @GenericMappingTools/pygmt-maintainers

- ``"a"``: geometry of the dataset (int)
- ``"b"``: return 0 if `-bi` was set and 1 if `-bo` was set (int)
- ``"f"``: return 0 if `-fi` was set and 1 if `-fo` was set (int)
- ``"h"``: whether to delete existing header records (int)
Copy link
Member

Choose a reason for hiding this comment

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

Looking at https://docs.generic-mapping-tools.org/6.4/gmt.html#h-full, is this just checking whether -h+d was set?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes.

@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Apr 21, 2023
@seisman seisman merged commit a840d9a into main Apr 21, 2023
@seisman seisman deleted the wrap-gmt-get-common branch April 21, 2023 05:53
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.

4 participants