Skip to content

Commit 4ea85d0

Browse files
committed
cosineLaw and cosineLaw_
New keyword argument corr=0 for functions cosineLaw and cosineLaw_. Use corr=1 for cosineAndoyerLambert and cosineAndoyerLambert_ corr=2 for cosineForsytheAndoyerLambert and cosineForsytheAndoyerLambert_ result. DEPRECATED functions cosineAndoyerLambert, cosineAndoyerLambert_, cosineForsytheAndoyerLambert and cosineForsytheAndoyerLambert_ and methods cosineAndoyerLambertTo and cosineForsytheAndoyerLambertTo for all LatLon classes. DEPRECATED classes FrechetCosineAndoyerLambert, FrechetCosineForsytheAndoyerLambert, HausdorffCosineAndoyerLambert, HausdorffCosineForsytheAndoyerLambert, HeightIDWcosineAndoyerLambert and HeightIDWcosineForsytheAndoyerLambert. New geoids class GeoidECM96. New method height_ for all geoid classes GeoidG2012B, GeoidKarney and GeoidPGM. New optional keyword argument strict=False for functions isiterable, isiterablen and map2 New functions acre2m2, max2, min2, m2ha, ha2acre, ha2m2, m2acre, m2ha and sincostan3d. Test and documentation updates. Update to Python 3.13.1 for testing and building. Fixed test failure for testKarney on Python 2.7.
1 parent 19ce091 commit 4ea85d0

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
-5 Bytes
Binary file not shown.

dist/PyGeodesy-24.12.31.tar.bz2

-1.31 KB
Binary file not shown.

dist/PyGeodesy-24.12.31.tar.gz

20 Bytes
Binary file not shown.

test/testKarney.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Test L{karney} module and wrappers.
55

66
__all__ = ('Tests',)
7-
__version__ = '24.09.04'
7+
__version__ = '25.01.05'
88

99
from bases import endswith, GeodSolve, geographiclib, startswith, TestsBase
1010

@@ -160,7 +160,7 @@ def testMask(self, G, module):
160160
def testMath(self):
161161
self.subtitle(karney, 'Math')
162162

163-
if geographiclib:
163+
if geographiclib and karney._wrapped.Math:
164164
_sincosd = karney._wrapped.Math.sincosd
165165
for d in range(-360, 391, 15):
166166
s, c = sincos2d(d)

0 commit comments

Comments
 (0)