sarkit.wgs84.east

east(latlonhae)

Compute local east 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 east unit vectors with X, Y, Z components in meters in the last dimension.

Examples

>>> import sarkit.wgs84
>>> sarkit.wgs84.east([[0,0,0], [0,90,0], [90,0,0]]).round(6)
array([[-0.,  1.,  0.],
       [-1.,  0.,  0.],
       [-0.,  1.,  0.]])