sarkit.wgs84.up
- up(latlonhae)
Compute local up unit vectors from WGS 84 geodetic coordinates.
- Parameters:
- latlonhae(…, 3) array_like
Array of geodetic coordinates with [latitude (deg), longitude (deg), and ellipsoidal height (m)] in the last dimension.
- Returns:
- (…, 3)
ndarray Array of local up unit vectors perpendicular to the local WGS-84 inflated ellipsoid with X, Y, Z components in meters in the last dimension.
- (…, 3)
Examples
>>> import sarkit.wgs84 >>> sarkit.wgs84.up([[0,0,0], [0,90,0], [90,0,0]]).round(6) array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]])