I want to convert x/y/z-ECEF positions to lla (lat/lon/alt) using WGS84 in python with pyproj but it seems like the conversion fails.
Example code is here:
lon, lat, alt = pyproj.transform(ecef, lla, x, y, z, radians=True)
Should be :
lat, lon, alt = pyproj.transform(ecef, lla, x, y, z, radians=True)
Since lla = pyproj.Proj(proj='latlong', ellps='WGS84', datum='WGS84') specify the latlong order
lla = pyproj.Proj(proj='latlong', ellps='WGS84', datum='WGS84')
latlong