-
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
clib.Session: Wrap the GMT_Get_Common API function #2500
Conversation
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) |
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.
Looking at https://docs.generic-mapping-tools.org/6.4/gmt.html#h-full, is this just checking whether -h+d
was set?
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.
Yes.
Co-authored-by: Wei Ji <[email protected]>
Description of proposed changes
Wrap the
GMT_Get_Common
API function.Wrapping this function is a necessary step toward addressing other issues/enhancements:
Figure.tilemap
support syntax likeregion="JP"
Add Figure.tilemap to plot XYZ tile maps #2394 (comment)