From b2cf84fd46cde20dfff077537b888cd3978d0848 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 19 Aug 2019 15:20:46 +0200 Subject: more comments (line one) --- TLE.go | 38 +++++++++++++++++++++++++++++++------- 1 file 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 -- cgit 1.4.1