title: Python pyproj convert ecef to lla
body: <p>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. </p>
  
  <p>Example code is here:</p>
  
  <pre><code>import pyproj
  
  # Example position data, should be somewhere in Germany
  x = 652954.1006
  y = 4774619.7919
  z = -2217647.7937
  
  ecef = pyproj.Proj(proj='geocent', ellps='WGS84', datum='WGS84')
  lla = pyproj.Proj(proj='latlong', ellps='WGS84', datum='WGS84')
  lon, lat, alt = pyproj.transform(ecef, lla, x, y, z, radians=True)
  
  print lat, lon, alt
  </code></pre>
  
  <p>Can someone see where the problem is?</p>
  
  <p>EDIT: By now I guess the calculations are correct, just the data I get from my receiver seems to be faulty. Can someone confirm that?</p>