You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2023. It is now read-only.
Since the latitude detector uses the cartesian_to_ellipsoidal method directly and also because cartesian_to_ellipsoidal calculates the longitude and height at the same time, sometimes the latitude detector returns a zero division error in this line:
h=z/np.sin(lat) - (1-e2) *v
Since this is not an error due to latitude calculation but an error in a different calculation (here, h the height), it might be confusing and/or unnecessary to raise this error when using the latitude event.
Since the latitude detector uses the
cartesian_to_ellipsoidalmethod directly and also becausecartesian_to_ellipsoidalcalculates the longitude and height at the same time, sometimes the latitude detector returns a zero division error in this line:Since this is not an error due to latitude calculation but an error in a different calculation (here,
hthe height), it might be confusing and/or unnecessary to raise this error when using the latitude event.Reproducible example
Possible ideas
lat,lon, andhto prevent unrelated error pop-up