Skip to content
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

More careful with Mollweide #8239

Merged
merged 2 commits into from
Dec 27, 2023
Merged

More careful with Mollweide #8239

merged 2 commits into from
Dec 27, 2023

Conversation

PaulWessel
Copy link
Member

While the fix yesterday (#8238) handled the bad mapproject results, it caused a failure in several Mollweide maps and images. This revised fix simply checks that if longitude (which is actually delta longitude relative to the central longitude) is > 180 then we set it to ±180 and add back the central longitude and the same with latitude (0). No more failures and the mapproject issue remains fixed as well.

While the fix yesterday handled the bad mapproject results, it caused a failiure in several Mollweide maps and image.  This revised fix simply checks that if longitude (which is actually longitude relative to the central longitude) is > 180 then we set it to ±180 plus the central longitude and the same with latitude (0).  No more failures.
@PaulWessel PaulWessel added the bug Something isn't working label Dec 27, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Dec 27, 2023
@PaulWessel PaulWessel self-assigned this Dec 27, 2023
@PaulWessel PaulWessel merged commit cf2dc2e into master Dec 27, 2023
6 checks passed
@PaulWessel PaulWessel deleted the proj-revise-moll branch December 27, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants