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

Erroneous Maidenhead locator for longitudes > 180˚ #12

Open
stroobandt opened this issue Apr 1, 2024 · 0 comments
Open

Erroneous Maidenhead locator for longitudes > 180˚ #12

stroobandt opened this issue Apr 1, 2024 · 0 comments

Comments

@stroobandt
Copy link

stroobandt commented Apr 1, 2024

Consider the following US location 37°N 80°W:

import maidenhead as mh
mh.to_maiden(37, -80)
'FM07aa'

Which for scientific applications can also be expressed in solely positive degrees as 37˚N 280°E:

mh.to_maiden(37, 280)
'XM07aa'

Thank you in advance for fixing this error.

Conversely, an option for to_location to output solely positive longitudes would also be well appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant