-
Notifications
You must be signed in to change notification settings - Fork 11
global map #220
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
base: main
Are you sure you want to change the base?
global map #220
Conversation
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.
nevermind - I was using an outdated version of the dataset
| # | ||
| global_targets <- list( | ||
| tar_target( | ||
| global_png, |
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.
This appears to be disconnected from the other targets. If I run tar_make(global_png) it errors out due to needing to build gage_melt first
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.
I addressed this issue here #221
| sf::st_buffer(dist = 6371000) # match Earth's radius in meters | ||
|
|
||
| # clip graticules | ||
| graticules_clipped <- sf::st_intersection(graticules_ortho, circle) |
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.
Not having a lot of luck removing the horizontal graticules. I suspect they are appearing because when we do this intersection the clipping exceeds the bounds of the globe, and then the plotting tries to wrap them
rnaturalearthpackage.Issue currently: graticule lines are showing some latitudes as being straight across globe, when they should be clipped