Repository navigation
Add Figure.magnetic_rose to plot a magnetic rose on map - #4051
Merged
Merged
Conversation
6 tasks
9 tasks done
seisman
force-pushed
the
feature/magnetic_rose
branch
5 times, most recently
from
December 15, 2025 07:23
a525760 to
be5f819
Compare
seisman
marked this pull request as ready for review
December 15, 2025 07:23
michaelgrund
approved these changes
Dec 17, 2025
Member
Author
|
@yvonnefroehlich Please review #4014 first. I'll make further changes to this PR when PR #4014 is finalized. |
16 of 27 tasks
seisman
force-pushed
the
feature/magnetic_rose
branch
from
December 19, 2025 09:25
aa49ffc to
13ea8cb
Compare
Contributor
Summary of changed imagesThis is an auto-generated report of images that have changed on the DVC remote
Image diff(s)DetailsAdded images
Modified images
Report last updated at commit 5dcd644 |
Member
Author
seisman
force-pushed
the
feature/magnetic_rose
branch
from
December 19, 2025 09:36
13ea8cb to
98d0a0d
Compare
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
yvonnefroehlich
left a comment
Member
There was a problem hiding this comment.
Around line 44: Need to add this high-level method to the list after merging the PR for Figure.directional_rose.
yvonnefroehlich
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This PR implements the
Figure.magnetic_rosemethod to plot a magnetic rose. It wraps thebasemap/coast's-Tmoption.Preview: https://pygmt-dev--4051.org.readthedocs.build/en/4051/api/generated/pygmt.Figure.magnetic_rose.html
The GMT CLI syntax is
The Pythonic long-form parameters are:
[g|j|J|n|x]refpoint[+jjustify][+odx[/dy]]:position+w:width+p:outer_pen+i:inner_pen+l:labels+d:declination,declination_label+t:intervalsExamples
Addressing #2831.