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.
Add examples parse_ocb.py & parse_hpac.py illustrating how to convert parsed and decoded OCB and HPAC messages into iterable data structures.
Add naive2aware(dt,tz) helper method - convert naive basedates to aware with UTC timezone.
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.
[x] streaming test cases amended to include PRN attribute
pyspartn Pull Request Template
Description
ENHANCEMENTS:
PRN_01=3
,PhaseBias_01_03=L2L
,CodeBias_02_03=C2L
.parse_ocb.py
&parse_hpac.py
illustrating how to convert parsed and decoded OCB and HPAC messages into iterable data structures.naive2aware(dt,tz)
helper method - convert naive basedates to aware with UTC timezone.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:
CONTRIBUTING.MD
).tests/test_*.py
pytest suite to maintain >= 85% code coverage.tests/test_*.py
unittest suite.