semuconsulting / pynmeagps

Python library for parsing and generating NMEA 0183 GNSS/GPS protocol messages.
BSD 3-Clause "New" or "Revised" License
81 stars 28 forks source link

Streamline error handling #14

Closed semuadmin closed 2 years ago

semuadmin commented 2 years ago

pynmeagps Pull Request Template

Description

Enhance NMEAReader.read() method to improve error handling (specifically for corrupt data streams) and make error outputs more consistent with companion pyubx2 library

Fixes # (issue)

Testing

Please test all changes, however trivial, against the supplied unittest suite tests/test_*.py e.g. by executing the tests/testsuite.py module or using your IDE's native Python unittest integration facilities. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

Checklist: