class documentation
class NMEASentence(_sentence._BaseSentence): (source)
Constructor: NMEASentence(sentenceData)
An object representing an NMEA sentence.
The attributes of this objects are raw NMEA protocol data, which are all ASCII bytestrings.
This object contains all the raw NMEA protocol data in a single sentence. Not all of these necessarily have to be present in the sentence. Missing attributes are None when accessed.
| Constant | ALLOWED |
Undocumented |
| Instance Variable | altitude |
The altitude above mean sea level. |
| Instance Variable | altitude |
Units in which altitude is expressed. (Always "M" for meters.) |
| Instance Variable | azimuth |
The azimuth of a satellite in decimal degrees. Optionally suffixed with _N, as with satellitePRN. |
| Instance Variable | data |
Signals if the data is usable or not. |
| Instance Variable | datestamp |
A datestamp. ("230394" -> 23 Mar 1994) |
| Instance Variable | elevation |
The elevation of a satellite in decimal degrees. Optionally suffixed with _N, as with satellitePRN. |
| Instance Variable | fix |
The quality of the fix. |
| Instance Variable | |
The index of this GSV sentence in the GSV sequence. |
| Instance Variable | height |
The local height of the geoid above the WGS84 ellipsoid model. |
| Instance Variable | height |
The units in which the height above the geoid is expressed. (Always "M" for meters.) |
| Instance Variable | horizontal |
The dilution of the precision of the position on a plane tangential to the geoid. (HDOP) |
| Instance Variable | latitude |
Latitude value. (for example: "1234.567" -> 12 degrees, 34.567 minutes). |
| Instance Variable | latitude |
Latitudinal hemisphere ("N" or "S"). |
| Instance Variable | longitude |
Longitude value. See latitudeFloat for an example. |
| Instance Variable | longitude |
Longitudinal hemisphere ("E" or "W"). |
| Instance Variable | magnetic |
The magnetic variation. |
| Instance Variable | magnetic |
The direction of the magnetic variation. One of "E" or "W". |
| Instance Variable | number |
The total number of GSV sentences in a sequence. |
| Instance Variable | number |
The number of satellites seen by the receiver. |
| Instance Variable | number |
The number of satellites used in computing the fix. |
| Instance Variable | position |
Euclidean norm of HDOP and VDOP. |
| Instance Variable | satellite |
The unique identifcation number of a particular satellite. Optionally suffixed with _N if multiple satellites are referenced in a sentence, where N in range(4). |
| Instance Variable | signal |
The SNR of a satellite signal, in decibels. Optionally suffixed with _N, as with satellitePRN. |
| Instance Variable | speed |
The ground speed, expressed in knots. |
| Instance Variable | timestamp |
A timestamp. ("123456" -> 12:34:56Z) |
| Instance Variable | true |
The true heading. |
| Instance Variable | type |
The sentence type ("GPGGA", "GPGSV"...). |
| Instance Variable | used |
Where int(N) in range(12). The PRN of a satellite used in computing the fix. |
| Instance Variable | vertical |
As horizontalDilutionOfPrecision, but for a position on a plane perpendicular to the geoid. (VDOP) |
| Method | _is |
Tests if this current GSV sentence is the first one in a sequence. |
| Method | _is |
Tests if this current GSV sentence is the final one in a sequence. |
Inherited from _BaseSentence:
| Method | __getattr__ |
Gets an attribute of this sentence. |
| Method | __init__ |
Initializes a sentence with parsed sentence data. |
| Method | __repr__ |
Returns a textual representation of this sentence. |
| Property | present |
An iterable containing the names of the attributes that are present in this sentence. |
| Instance Variable | _sentence |
Undocumented |
The unique identifcation number of a particular satellite. Optionally suffixed with _N if multiple satellites are referenced in a sentence, where N in range(4).