about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-08-19 15:20:46 +0200
committerEmile <hanemile@protonmail.com>2019-08-19 15:20:46 +0200
commitb2cf84fd46cde20dfff077537b888cd3978d0848 (patch)
tree4be230e203188be6bc5d0562c39c756215bc447a
parent3505e5c0384e6420d39fcf8599e2c1bab40ca3c5 (diff)
more comments (line one)
-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