pymgp.crstrans.printplh#

pymgp.crstrans.printplh(plh, unit='rad/m')[source]#

Print Geographic (Lat, Lon, Height) coordinates in fixed format with 0.1 mm precision.

Parameters:
plharray_like with shape (…,3)

Ellipsoidal coordinates (geographic latitude, longitude and height above the ellipsoid).

unit{‘rad/m’, ‘deg/m’, ‘rad’, ‘deg’}, default = ‘rad/m’

Units for the input latitude and longitude (and height).

Returns:
None

Nothing to return.

Notes

One degree is about 111 km, one millidegree (10^-3) is about 111 m, one micro degree (10^-6) is 0.111 m, one pico degree (10^-9) is 0.111 mm, so 9 digits will do for the latitude and longitude, and 4 digits for the height.

Examples

>>> printplh([52.1234567891, 4., 110.000001], unit='deg')
[ 52.12345679   4.         110.        ]