semuconsulting / pyspartn

Python library for parsing SPARTN protocol messages.
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Rc 1.0.0 #26

Closed semuadmin closed 6 months ago

semuadmin commented 6 months ago

pyspartn Pull Request Template

Description

ENHANCEMENTS:

  1. Add payload attributes for PRN, Phase Bias and Code Bias values, derived from the corresponding bitmasks for each constellation type. e.g. PRN_01=3, PhaseBias_01_03=L2L, CodeBias_02_03=C2L.
  2. Add examples parse_ocb.py & parse_hpac.py illustrating how to convert parsed and decoded OCB and HPAC messages into iterable data structures.
  3. Add naive2aware(dt,tz) helper method - convert naive basedates to aware with UTC timezone.
  4. Internal enhancements to simplify basedate handling.

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 85% code coverage.

Checklist: