orbitx.utils._tle.get_revolution_number

orbitx.utils._tle.get_revolution_number#

orbitx.utils._tle.get_revolution_number(line2: str) int[source]#

Finds the revolution number from the second line of the TLE. The the revolution number corresponds to the characters 64 to 68 of the second line.

Parameters:

line2 (str) – The second line of the considered TLE

Returns:

The revolution number

Return type:

int

Example

line2 = "2 25544  51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537"
revolution_number = get_revolution_number(line2)
print(revolution_number)
56353