From 8b85088c511cad21d39ed50b824ba3221a0eca68 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 19 Aug 2019 15:11:13 +0200 Subject: Commented the first line --- TLE.go | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/TLE.go b/TLE.go index 7bdb0f0..4c57928 100644 --- a/TLE.go +++ b/TLE.go @@ -22,10 +22,15 @@ type TitleLine struct { Satname string `json:"satname"` } +// LineOne defines the first line in the TLE type LineOne struct { - Linenumber int8 `json:"linenumber"` - Satellitenumber int `json:"satellitenumber"` - Classification rune `json:"classification"` + Linenumber int8 `json:"linenumber"` + + // Catalog number defined by USSPACECOM + // A "U" indicates an unclassified object + SatelliteNumber int `json:"satellitenumber"` + Classification rune `json:"classification"` + InternationalDesignator InternationalDesignator `json:"internationaldesignator"` Epoch Epoch `json:"epoch"` Firstderiv float64 `json:"firstderiv"` @@ -36,10 +41,17 @@ type LineOne struct { Checksum int8 `json:"checksum"` } +// InternationalDesignator stores information about the satellite such as when it launched type InternationalDesignator struct { - Launchyear int8 `json:"launchyear"` - Launchnumber int `json:"launchnumber"` - Launchpiece rune `json:"launchpiece"` + + // Last two digits of launch year + Launchyear int8 `json:"launchyear"` + + // Launch number of the year + Launchnumber int `json:"launchnumber"` + + // Piece of the launch + Launchpiece rune `json:"launchpiece"` } type Epoch struct { -- cgit 1.4.1