spacepy.ctrans.geo_to_rll¶
- spacepy.ctrans.geo_to_rll(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]¶
Calculate RLL from geocentric geographic (GEO) coordinates
- Parameters:
- geovecarray-like
Nx3 array of geographic radius, latitude, longitude (in specified units)
- Returns:
- rllvecnumpy.ndarray
Nx3 array of [distance from Earth’s center, geodetic latitude, geodetic longitude]
- Other Parameters:
- unitsstr
Units for input geodetic altitude. Options are ‘km’ or ‘Re’. Default is ‘km’. Output units will be the same as input units.
- geoidspacepy.ctrans.Ellipsoid
Instance of a reference ellipsoid to use for geodetic conversion. Default is WGS84.
Notes
New in version 0.3.0.