TLE class
TLE data format
Reference: T.S. Kelso
Two line element data consists of three lines in the following format:
AAAAAAAAAAAAAAAAAAAAAA 1 NNNNNU NNNNNAAA NNNNN.NNNNNNNN +.NNNNNNNN +NNNNN-N +NNNNN-N N NNNNN 2 NNNNN NNN.NNNN NNN.NNNN NNNNNNN NNN.NNNN NNN.NNNN NN.NNNNNNNNNNNNNN
Line 0 is a twenty-two-character name.
Lines 1 and 2 are the standard Two-Line Orbital Element Set Format identical to that used by NORAD and NASA. The format description is:
Line 1
Column Description
01-01 Line Number of Element Data
03-07 Satellite Number
10-11 International Designator (Last two digits of launch year)
12-14 International Designator (Launch number of the year)
15-17 International Designator (Piece of launch)
19-20 Epoch Year (Last two digits of year)
21-32 Epoch (Julian Day and fractional portion of the day)
34-43 First Time Derivative of the Mean Motion
or Ballistic Coefficient (Depending on ephemeris type)
45-52 Second Time Derivative of Mean Motion (decimal point assumed;
blank if N/A)
54-61 BSTAR drag term if GP4 general perturbation theory was used.
Otherwise, radiation pressure coefficient. (Decimal point assumed)
63-63 Ephemeris type
65-68 Element number
69-69 Check Sum (Modulo 10)
(Letters, blanks, periods, plus signs = 0; minus signs = 1)
Line 2
Column Description
01-01 Line Number of Element Data
03-07 Satellite Number
09-16 Inclination [Degrees]
18-25 Right Ascension of the Ascending Node [Degrees]
27-33 Eccentricity (decimal point assumed)
35-42 Argument of Perigee [Degrees]
44-51 Mean Anomaly [Degrees]
53-63 Mean Motion [Revs per day]
64-68 Revolution number at epoch [Revs]
69-69 Check Sum (Modulo 10)
All other columns are blank or fixed.
Example:
NOAA 6 1 11416U 86 50.28438588 0.00000140 67960-4 0 5293 2 11416 98.5105 69.3305 0012788 63.2828 296.9658 14.24899292346978
Properties
-
field
↔ List<
String> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mapCache
↔ Map<
int, double> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strLine1 ↔ String
-
getter/setter pair
- strLine2 ↔ String
-
getter/setter pair
- strName ↔ String
-
getter/setter pair
Methods
-
cIsValidLine(
String str, eTleLine line) → bool - IsTleFormat() Returns true if "str" is a valid data line of a two-line element set, else false.
-
convertUnits(
double valNative, eField fld, eUnits units) → double - Convert the given field into the requested units. It is assumed that the value being converted is in the TLE format's "native" form.
-
expToAtof(
String str) → String -
expToAtof()
Converts TLE-style exponential notation of the form
|-
00000+|-
0 to a form that is parse-able by the C-runtime function atof(). Assumes implied decimal point to the left of the first number in the string, i.e., " 12345-3" = 0.12345e-3 "-23429-5" = -0.23429e-5 " 40436+1" = 0.40436e+1 -
getField(
eField fld, {eUnits units = eUnits.U_NATIVE, String? pstr, bool bStrUnits = false}) → dynamic - getField() Return requested field as a double (function return value) or as a text string (*pstr) in the units requested (eUnit). Set 'bStrUnits' to true to have units appended to text string.
-
getLine1(
) → String -
getLine2(
) → String -
getName(
) → String -
getUnits(
eField fld) → String? -
initialize(
) → void - Initialize() Initialize the string array.
-
Key(
eUnits u, eField f) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited