-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
Fixing differential rotation of coordinates again. #3123
Conversation
This reverts commit fa5969b.
Hello @wafels! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2019-05-22 15:32:39 UTC |
Thanks for the pull request @wafels! Everything looks great! |
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.
Looks generally fine to me but the doctests need fixing.
heliographic_rotated = SkyCoord(heliographic_coordinate.lon + drot, | ||
heliographic_coordinate.lat, | ||
heliographic_coordinate.radius, | ||
obstime = new_observer.obstime, |
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.
no spaces around kwarg =
please.
@nabobalis backport please. |
This and the warping code in #2972 can be used to reproject images to different viewpoints. |
Can I just protest about the history? |
Me thinks we might have to give @wafels a lesson on rewriting git history 😛 |
Description
Fixes the differential rotation of coordinates again. With this PR, the
solar_rotate_coordinate
function returns a coordinate that accounts for the location of thenew_observer
.Fixes #