def __init__(self, satellite, line1, line2): satellite = satellite.upper() self.satellite_name = satellite self.tle = tlefile.read(satellite, line1=line1, line2=line2) self.orbit_elements = OrbitElements(self.tle) self._sgdp4 = _SGDP4(self.orbit_elements)