Skip to content
/ tle Public

TLE handling package for Go. This is a fairly simple package and shouldn't need frequent releases.

License

Notifications You must be signed in to change notification settings

cprosche/tle

Repository files navigation

tle

Go Reference

A TLE handling package for Go

Installation

To use the package, run:

go get github.com/cprosche/tle

Features

  • Provides TLE type
  • Parses TLEs and 3LEs
  • Validates checksums
  • Supports Alpha 5 format

Example

package main

import (
    "fmt"
    "github.com/cprosche/tle"
)

func main() {
    tleStr := `ISS (ZARYA)
1 25544U 98067A   21293.61892701  .00000913  00000-0  26179-4 0  9991
2 25544  51.6443  88.9783 0004266  35.1673  33.6829 15.48976801304895`

    tle, err := tle.Parse(tleStr)
    if err != nil {
        fmt.Println(err)
        return
    }

    fmt.Println(tle)
}

What is a TLE (or 2LE or 3LE)?

TLE or 2LE: Two-Line Element Set

3LE: Three-Line Element Set

TLEs are used to describe the orbits of Earth-orbiting objects. They are used by the United States Department of Defense to track objects in orbit.

Recent TLEs for most objects can be found at the following websites:

Technical References

License

This package is licensed under the MIT license. See the LICENSE file for more information.

About

TLE handling package for Go. This is a fairly simple package and shouldn't need frequent releases.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published