spacepy.ctrans.geo_to_gdz¶
- spacepy.ctrans.geo_to_gdz(geovec, units='km', geoid={'1mE2': 0.9933056200098587, 'A': 6378.137, 'A2': 40680631.59076899, 'A2mB2': 272331.60610755533, 'B': 6356.752314245179, 'B2': 40408299.98466144, 'E2': 0.0066943799901413165, 'E4': 4.481472345240445e-05, 'EP2': 0.0067394967422764514, 'Flat': 0.0033528106647474805, 'iFlat': 298.257223563})[source]¶
Convert geocentric geographic (cartesian GEO) to geodetic (spherical GDZ)
Uses Heikkinen’s exact solution 1, see Zhu et al. [#Zhu] for details.
- Parameters
- geovecarray-like
Nx3 array (or array-like) of geocentric geographic [x, y, z] coordinates
- Returns
- outnumpy.ndarray
Nx3 array of geodetic altitude, latitude, and longitude
Notes
New in version 0.3.0.
References
- 1
Heikkinen, M., “Geschlossene formeln zur berechnung raumlicher geodatischer koordinaten aus rechtwinkligen koordinaten”, Z. Vermess., vol. 107, pp. 207-211, 1982.
- 2
J. Zhu, “Conversion of Earth-centered Earth-fixed coordinates to geodetic coordinates,” in IEEE Transactions on Aerospace and Electronic Systems, vol. 30, no. 3, pp. 957-961, July 1994, doi: 10.1109/7.303772.