about summary refs log tree commit diff
path: root/TLE.go
diff options
context:
space:
mode:
Diffstat (limited to 'TLE.go')
-rw-r--r--TLE.go38
1 files changed, 31 insertions, 7 deletions
diff --git a/TLE.go b/TLE.go
index 25221c3..cf66d11 100644
--- a/TLE.go
+++ b/TLE.go
@@ -36,14 +36,38 @@ type LineOne struct {
 	SatelliteNumber int  `json:"satellitenumber"`
 	Classification  rune `json:"classification"`
 
+	// International  Designator containing information about the launch
 	InternationalDesignator InternationalDesignator `json:"internationaldesignator"`
-	Epoch                   Epoch                   `json:"epoch"`
-	Firstderiv              float64                 `json:"firstderiv"`
-	Secondderiv             float64                 `json:"secondderiv"`
-	BSTAR                   float64                 `json:"BSTAR"`
-	Numberzero              int8                    `json:"numberzero"`
-	ElementSetNumber        int                     `json:"elementesetnumber"`
-	Checksum                int8                    `json:"checksum"`
+
+	// Epoch defining from when the TLE is
+	Epoch Epoch `json:"epoch"`
+
+	// First Time Derivative of the Mean Motion divided by two
+	// Unit: revs / day
+	// "catch all" drag term used in SGP4 USSPACECOM predictor
+	Firstderiv float64 `json:"firstderiv"`
+
+	// Second Time Derivative of Mean Motion divided by six (decimal point assumed)
+	// second order drag term in the SGP4
+	// Unit: revs / day^3
+	// A leading decimal must be applied to this value
+	// The last two characters define an applicable power of 10 (12345-5 = 0.0000012345)
+	Secondderiv float64 `json:"secondderiv"`
+
+	// Drag Term
+	// (67960-4 = 0.000067960)
+	// Unit: earth radii^-1
+	// The last two characters define an applicable power of 10
+	BSTAR float64 `json:"BSTAR"`
+
+	// The number 0 (originally this should have been "Ephemeris type")
+	Numberzero int8 `json:"numberzero"`
+
+	// Element set number. Incremented when a new TLE is generated for this object.
+	ElementSetNumber int `json:"elementesetnumber"`
+
+	// Checksum (modulo 10)
+	Checksum int8 `json:"checksum"`
 }
 
 // InternationalDesignator stores information about the satellite such as when it launched