Almanac datatypes

class pygarmin.datatype.Almanac

Bases: DataType

is_valid()

Return whether the data is valid.

If the data for a particular satellite is missing or if the satellite is non-existent, then the week number for that satellite must be set to a negative number to indicate that the data is invalid.

class pygarmin.datatype.D500(wn=0, toa=0, af0=0, af1=0, e=0, sqrta=0, m0=0, w=0, omg0=0, odot=0, i=0)

Bases: Almanac

class pygarmin.datatype.D501(hlth=0, **kwargs)

Bases: D500

class pygarmin.datatype.D550(wn=0, toa=0, af0=0, af1=0, e=0, sqrta=0, m0=0, w=0, omg0=0, odot=0, i=0)

Bases: D500

get_prn()

Return the PRN.

The svid member identifies a satellite in the GPS constellation as follows: PRN-01 through PRN-32 are indicated by svid equal to 0 through 31, respectively.

class pygarmin.datatype.D551(hlth=0, **kwargs)

Bases: D501

get_prn()

Return the PRN.

The svid member identifies a satellite in the GPS constellation as follows: PRN-01 through PRN-32 are indicated by svid equal to 0 through 31, respectively.