ENHANCEMENTS:
- Cater for legacy "BD" (Beidou) NMEA Talker ID.
ENHANCEMENTS:
- Add 'NAVIC' to list of gnssId enumerations - reference only, no functional change.
CHANGES:
- Add write capability to socket_stream wrapper, allowing clients to write to NMEAReader socket stream (NMEAReader.datastream) as well as read from it.
- Update constructor arguments and docstrings to clarify API (no functional changes).
CHANGES:
- Deprecated
NMEAReader.iterate()
method removed - use the standard iterator instead e.g.nmr = NMEAReader(stream, **wkargs): for (raw,parse) in nmr: ...
, passing anyquitonerror
orerrorhandler
kwargs to the NMEAReader constructor. - Internal streamlining of helper methods.
FIXES:
- Add support for non-standard 3-digit degree latitude value, e.g.
'$GNGLL,02348.3822990,S,15313.5862807,E,040856.82,A,D*5F'
- NB: footprint of
dmm2ddd
helper method has changed -att
argument no longer required. - Fixes #37
- Remove Python 3.7 from workflows.
- Add proprietary POLL messages to nmeatypes_poll.py
ENHANCEMENTS:
- Add proprietary Trimble message definitions.
- GMP GNSS Map Projection Fix Data
- LLQ Leica local position and quality
- ROT Rate of turn
- PASHR,ALR Alarms
- PASHR,ARA True Heading
- PASHR,ARR Vector & Accuracy
- PASHR,ATT True Heading
- PASHR,BTS Bluetooth Status
- PASHR,CAP Parameters of Antenna Used at Received Base
- PASHR,CPA Height of Antenna Used at Received Base
- PASHR,CPO Position of Received Base
- PASHR,DDM Differential Decoder Message
- PASHR,DDS Differential Decoder Status
- PASHR,HPR True Heading
- PASHRHR Proprietary Roll and Pitch
- PASHR,LTN Latency
- PASHR,MDM Modem State and Parameter
- PASHR,PBN Position and Velocity Information
- PASHR,POS Position
- PASHR,PTT PPS Time Tag
- PASHR,PWR Power Status
- PASHR,RCS Recording Status
- PASHR,SBD BEIDOU Satellites Status
- PASHR,SGA GALILEO Satellites Status (E1,E5a,E5b)
- PASHR,SGL GLONASS Satellites Status
- PASHR,SGO GALILEO Satellites Status (E1,E5a,E5b,E6)
- PASHR,SGP GPS Satellites Status
- PASHR,SIR IRNSS Satellites Status
- PASHR,SLB L-Band Satellites Status
- PASHR,SQZ QZSS Satellites Status
- PASHR,SSB SBAS Satellites Status
- PASHR,TEM Receiver Temperature
- PASHR,THS True Heading and Status
- PASHR,TTT Event Marker
- PASHR,VCR Vector and Accuracy
- PASHR,VCT Vector and Accuracy
- PASHR,VEL Velocity
- FUGDP Fugro Dynamic Positioning
- GPPADV,110 Position and satellite information for RTK network operations 110
- GPPADV,120 Position and satellite information for RTK network operations 120
- PTNL,AVR Time, yaw, tilt, range, mode, PDOP, and number of SVs for Moving Baseline RTK
- PTNL,BPQ Base station position and position quality indicator
- PTNL,DG L-band corrections and beacon signal strength and related information
- PTNL,EVT Event marker data
- PTNL,GGK Time, position, position type, and DOP values
- PTNL,PJK Time, position, position type, and DOP values
- PTNL,PJT Projection type
- PTNL,REX Rover Extended Output
- PTNL,VGK Time, locator vector, type, and DOP values
- PTNL,VHD Heading Information
FIXES:
- Rounding removed from
haversine
helper method.
ENHANCEMENTS:
- Add
bearing
helper method.
CHANGES:
quitonerror
anderrorhandler
kwargs added to NMEAReader constructor - see Sphinx documentation for details.NMEAReader.iterate()
method deprecated - use the standard iterator instead e.g.nmr = NMEAReader(stream, **wkargs): for (raw,parse) in nmr: ...
, passing anyquitonerror
orerrorhandler
kwargs to the NMEAReader constructor.
FIXES:
- Fix typo in PUBX00 payload definition - PDOP is now TDOP. Thanks to @dbstf for issue report.
- Fix handling of VALMSGID flag in NMEAReader. Thanks to @nmichaels-qualinx for issue report.
ENHANCEMENTS:
- Following utility methods added to nmeahelpers.py:
latlon2dms
- converts decimal lat/lon to degrees, minutes, decimal seconds format e.g. "53°20′45.6″N", "2°32′46.68″W"latlon2dmm
- converts decimal lat/lon to degrees, decimal minutes format e.g. "53°20.76′N", "2°32.778′W"llh2iso6709
- converts lat/lon and altitude (hMSL) to ISO6709 format e.g. "+27.5916+086.5640+8850CRSWGS_84/"ecef2llh
- converts ECEF (X, Y, Z) coordinates to geodetic (lat, lon, ellipsoidal height) coordinatesllh2ecef
- converts geodetic (lat, lon, ellipsoidal height) coordinates to ECEF (X, Y, Z) coordinateshaversine
- finds spherical distance in km between two sets of (lat, lon) coordinates
CHANGES:
- shields.io build status badge URL updated.
No other functional changes.
ENHANCEMENTS:
time2utc
helper method enhanced to cater for proprietary NMEA messages containing timestamps in format hh.mm.ss rather than hh.mm.ss.ss (i.e. missing decimal seconds). Addresses PR #19.
ENHANCEMENTS:
- Enhancement to NMEAMessage constructor - will now automatically derive value of
NS
orEW
attributes from provided lat/lon e.g.lon
< 0 =>EW
= "W" - Enhancement to NMEAMessage constructor - optional keyword argument
hpnmeamode
added which allows NMEA position message payloads to be constructed to 7dp decimal minutes rather than the standard 5dp (i.e. (d)ddmm.mmmmmmm rather than (d)ddmm.mmmm). NB: this is primarily for manually constructed messages. Messages parsed from a GNSS receiver data stream retain whatever level of precision is output by the receiver to a maximum 10dp of decimal degrees.
CHANGES:
nmeadump
CLI utility has been removed and replaced by thegnssdump
utility available via thepygnssutils
PyPi package.- Python 3.11 classifier added to setup.
FIXES:
- When manually creating NMEA Messages, the nominal (default) value of time and date fields is now set to UTC time rather than local time. This is relevant, for example, when constructing NMEA GGA messages to send to NTRIP casters.
CHANGES:
- Add support for THS message type.
- Extend test coverage for socket handler.
ENHANCEMENTS:
- Add capability to read from TCP/UDP socket as well as serial stream. Utilises a SocketStream utility class to allow sockets to be read using standard stream-like read(bytes) and readline() methods.
FIXES:
- GBS and GSA message definitions updated -
systemId
andsignalId
now correctly defined as HX rather than IN.
FIXES:
- GRS message definition updated -
systemId
andsignalId
now correctly defined as HX rather than IN.
ENHANCEMENTS:
identity
property added to NMEAMessage for consistency with companionpyubx2
library - identity = (talker+msgID)- internal refactoring of error handling in
NMEAReader.read()
method to make it more consistent withpyubx2
when processing corrupted data streams.
FIXES:
- HX attribute type processing corrected - will now parse HX values as hex strings rather than convert to/from integers.
- GSV payload corrected - SignalId is now hex.
ENHANCEMENTS:
- Python 3.10 compatibility added
- Minor pylint code tweaks
ENHANCEMENTS:
- Filter added to
nmeadump
cli utility to limit output to specified NMEA msgIDs. See README for usage. - Update
dmm2ddd()
helper method to increase conversion accuracy from 6 to 8 decimal places - thanks for Doradx for the contribution.
ENHANCEMENTS:
- The nmeadump.py example has been moved into the pynmeagpscli module and configured as a setup entry point. It is now available as a simple command line utility. See README for usage.
FIXES:
- Fixed diffAge field type in GGA payload definition.
FIXES:
- Fixed typo in VTG payload definition -
cogT
is nowcogt
. Test script updated.
FIXES:
- Fixed typo in GBS payload definition -
effLon
is nowerrLon
. Test script updated. - Fixed cosmetic typo in nmeafile.py example - functionality not affected.
CHANGES:
- Marked to v1.0.0 Production/Stable. No other functional changes.
FIXES:
- NMEA PUBX msgId parsed as str rather than int.
ENHANCEMENTS:
- nmeatypes_core.py NMEA_MSGID table split into standard and proprietary dicts.
- nmeapollall.py example added.
ENHANCEMENTS:
- Following standard message types added: AAM, APA, APB, BOD, BWC, MSK, MSS, RMA, RMB, STN, VBW, WPL, XTE,
- Following proprietary message types added: (Garmin) GRME, GRMM, GRMZ
Further types will be added in subsequent releases. Shout or submit PR if you want yours prioritised.
ENHANCEMENTS:
- message types HDG, HDM, HDT, RTE added
- msgdesc() helper method added to get description of NMEA message type.
- construction of proprietary messages (talker = 'P') made more consistent with standard messages.
FIXES:
- nominal value for HX (hex) attribute type updated to integer rather than string (only currently affects RLM message type).
CHANGES:
- Optional arguments to NMEARreader constructor and parse() method have been changed to **kwargs rather than args for future flexibility. See docstrings for usage.
ENHANCEMENTS:
- Add Garmin proprietary NMEA sentences GET and SET.
ENHANCEMENTS:
- Parse validate flag added to NMEAReader.read() method, defaults to VLCKSUM (1 - check checksum only); other options are VALNONE = 0, VALMSGID = 2. Options can be ANDed. Examples updated accordingly.
- Constructor enhanced to allow NMEAMessage to be created using typed values.
- README.MD and GitHub workflow/coverage updated
- Initial public beta release