Enhance MSM signal attribute labelling to support either frequency band (e.g. "L1") or signal RINEX code (e.g. "1C"):
The labelmsm keyword argument in RTCMReader and RTCMMessage is now an integer rather than a boolean, with values 0 = no label, 1 = label with signal RINEX code (the existing default behaviour), 2 = label with frequency band
cell2prn helper method - new optional parameter sigcode 0 = use frequency band, 1 - use signal RINEX code (existing default behaviour)
Fixes #43
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 >= 99% code coverage.
pyrtcm Pull Request Template
RELEASE CANDIDATE 1.0.13
ENHANCEMENTS:
labelmsm
keyword argument inRTCMReader
andRTCMMessage
is now an integer rather than a boolean, with values 0 = no label, 1 = label with signal RINEX code (the existing default behaviour), 2 = label with frequency bandcell2prn
helper method - new optional parametersigcode
0 = use frequency band, 1 - use signal RINEX code (existing default behaviour)Fixes #43
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 >= 99% code coverage.Checklist:
tests/test_*.py
unittest suite to maintain >= 99% code coverage.tests/test_*.py
unittest suite.