Decoding of the GPS Reference Week Number
The GPS reference week number provided in the raw satellite data is the 10 least significant bits (or 8 least significant bits in the case of the almanac data) of the full week number. When the receiver processes the satellite data, the week number is decoded as defined in the log description. In all log headers, the full week number is given starting from week 0 or January 6, 1980.