geodetic2geocentric
- typhon.geodesy.geodetic2geocentric(h, lat, lon, ellipsoid=None, **kwargs)[source]
Convert from geodetic to geocentric 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:
h – Geodetic height (height above the reference ellipsoid).
lat – Geodetic latitude.
lon – Geodetic longitude.
kwargs – Additional keyword arguments for
cart2geocentric()
.ellipsoid – A tuple with the form (semimajor axis, eccentricity). Default is ‘WGS84’ from
ellipsoidmodels
.
- Returns:
Radius, geocentric latiude, geocentric longitude
- Return type: