earthkit.geo.coord.xyz_to_latlon¶
- earthkit.geo.coord.xyz_to_latlon(x, y, z)¶
Convert from earth-centred, earth-fixed ([ECEF]) to geodetic coordinates. See [From_ECEF_to_geodetic_coordinates].
- Parameters:
x (
floatorndarray) – x-component of the ECEF coordinates.y (
floatorndarray) – y-component of the ECEF coordinates.z (
floatorndarray) – z-component of the ECEF coordinates.
- Returns:
ndarray– Latitude (degrees).ndarray– Longitude (degrees).
It is assumed that the Earth is a sphere of radius 1.