# GnssWeekCounter

Industry: GNSS

A satellite week counter, named by system and, where a system broadcasts two, by navigation message: GPS and QZSS LNAV count modulo 1024, their CNAV modulo 8192, Galileo modulo 4096, BeiDou modulo 8192, NavIC LNAV (L5/S) modulo 1024 and L1NV modulo 8192. GLONASS has no week counter. A RINEX navigation-file week is not one of these: see `RinexWeekSystem`.

```ts
import type { GnssWeekCounter } from "@northguild/gmt";
```

## Definition

```ts
type GnssWeekCounter =
  | "GPS-LNAV"
  | "GPS-CNAV"
  | "GAL"
  | "BDT"
  | "QZS-LNAV"
  | "QZS-CNAV"
  | "IRN-LNAV"
  | "IRN-L1NV";
```

## Used by

- [`gnssWeekToUtc`](/gmt/reference/gnss/convert/gnssWeekToUtc/)
- [`utcToGnssWeek`](/gmt/reference/gnss/convert/utcToGnssWeek/)

## Source

[types/gnss.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/gnss.ts)
