Skip to content

Ignore conversion warnings generated by libmgrs#48

Merged
hobu merged 4 commits into
hobuinc:mainfrom
SpaceApplications:fix-ignore-warnings
Feb 3, 2026
Merged

Ignore conversion warnings generated by libmgrs#48
hobu merged 4 commits into
hobuinc:mainfrom
SpaceApplications:fix-ignore-warnings

Conversation

@bevalentin
Copy link
Copy Markdown
Contributor

When converting certain MGRS coordinates to (latitude, longitude), libmgrs produces the expected output but also returns an error code that denotes a warning.

The warnings were interpreted as errors and mgrs.core.MGRSError errors were raised.

The warnings are now ignored.

Fixes: #45

Comment thread mgrs/core.py Outdated
@bevalentin bevalentin requested a review from hobu February 3, 2026 16:25
@hobu hobu merged commit 7d7e12d into hobuinc:main Feb 3, 2026
16 checks passed
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

Successfully merging this pull request may close these issues.

Convert_MGRS_To_Geodetic Error

2 participants