Add configuration file option to all CLI utilities via -C or --config argument. Default location of configuration file can be specified in environment variable {utility}_CONF e.g. GNSSDUMP_CONF, GNSSNTRIPCLIENT_CONF, etc. Config files are text files containing key-value pairs which mirror the existing CLI arguments, e.g.
Streamline logging. CLI usage unchanged; to use pygnssutils logging within calling application, invoke logging.getLogger("pygnssutils") in calling module.
Internal enhancements to experimental UBXSimulator to add close() and in_waiting() methods; recognise incoming RTCM data.
GGA message sent to NTRIP Caster in GGALIVE mode will include additional live attributes (siv, hdop, quality, diffage, diffstation). Thanks to @yydgis for contribution.
FIXES:
gnssntripclient - update HTTP GET request for better NTRIP 2.0 compliance
issue with delay on gnssntripclient retry limit
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.
pygnssutils Pull Request Template
Description
ENHANCEMENTS:
Add configuration file option to all CLI utilities via
-C
or--config
argument. Default location of configuration file can be specified in environment variable{utility}_CONF
e.g.GNSSDUMP_CONF
,GNSSNTRIPCLIENT_CONF
, etc. Config files are text files containing key-value pairs which mirror the existing CLI arguments, e.g.where gnssdump.conf contains...
filename=pygpsdata-MIXED3.log verbosity=3 format=2 clioutput=1 output=testfile.bin
is equivalent to:
logging.getLogger("pygnssutils")
in calling module.FIXES:
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.