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
At the very least, the values of longitude when the azimuth approaching 90 or 270 to less than 1e-5 look obviously wrong. On the other hand, the latitude values look fine, including when the azimuth is close to 0 or 180.
pymap3d version: 2.7.0
Many thanks.
The text was updated successfully, but these errors were encountered:
tan(a12) changes significantly with respect to a12 around a12=pi/2, and is more susceptible to rounding errors. I think the equation below needs to be replaced with some other code around a12=pi/2.
When azimuth is equal or close to 90 or 270,
loxodrome_direct
will return an incorrect longitude value.The following code will reproduce the problem:
This code prints lines like this:
At the very least, the values of longitude when the azimuth approaching 90 or 270 to less than 1e-5 look obviously wrong. On the other hand, the latitude values look fine, including when the azimuth is close to 0 or 180.
pymap3d version: 2.7.0
Many thanks.
The text was updated successfully, but these errors were encountered: