orbitx.utils._tle.get_classification

orbitx.utils._tle.get_classification#

orbitx.utils._tle.get_classification(line1: str) str[source]#

Finds the classification of the satellite in the first line of the TLE. The classification corresponds to character eight in the first line of the TLE. The possible values are

  • U: unclassified,

  • C: classified,

  • S: secret.

Parameters:

line1 (str) – The first line of the considered TLE

Returns:

The classification of the satellite

Return type:

str

Example

line1 = "1 25544U 98067A   08264.51782528 -.00002182  00000-0 -11606-4 0  2927"
classification = get_classification(line1)
print(classification)
Unclassified