sarkit.wgs84.north
- north(latlonhae)
Compute local north 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 north unit vectors with X, Y, Z components in meters in the last dimension.
- (…, 3)
Examples
>>> import sarkit.wgs84 >>> sarkit.wgs84.north([[0,0,0], [0,90,0], [90,0,0]]).round(6) array([[-0., -0., 1.], [-0., -0., 1.], [-1., -0., 0.]])