return r_ecef
# TODO: Verify if ecef_to_enu is correct
# The results of this function in combination with the other coordinate system updates
# for SGP4 give results similar to, but not identical to, the Skyfield results, so each
# new conversion needs to be individually verified
def ecef_to_enu(r_ecef: list[float], lat: float, lon: float) -> np.ndarray:
"""
Convert ECEF (Earth-Centered, Earth-Fixed) coordinates to ENU (East, North, Up)
The results of this function in combination with the other coordinate system updates
for SGP4 give results similar to, but not identical to, the Skyfield results, so each
new conversion needs to be individually verified
https://github.com/iausathub/satchecker/blob/c5a9a3b0fbe274986a361d37c20d86114d8fddba/src/api/utils/coordinate_systems.py#L48