cart2geodetic

typhon.geodesy.cart2geodetic(x, y, z, ellipsoid=None)[source]

Convert from cartesian to geodetic coordinates.

The geodetic coordinates refer to the reference ellipsoid specified by input ellipsoid. See module docstring for a defintion of the geocentric coordinate system.

Parameters:
  • x – Coordinates in x dimension.

  • y – Coordinates in y dimension.

  • z – Coordinates in z dimension.

  • ellipsoid – A tuple with the form (semimajor axis, eccentricity). Default is ‘WGS84’ from ellipsoidmodels.

Returns:

Geodetic height, latitude and longitude

Return type:

tuple