Skip to content

Releases: geospace-code/pymap3d

Default Ellipsoid improvements

Bugfix: don't use numpy.seterr

05 Mar 05:32
Compare
Choose a tag to compare

use warnings.catch_warnings() context manager instead of numpy.seterr to avoid breaking other programs that import pymap3d and want their warnings not to be errors.

Thanks @sanguinariojoe for the report and suggested fix

overhaul Ellipsoid, fix Numpy warning to error

26 Feb 16:44
Compare
Choose a tag to compare
  • Numpy would issue warnings that could cause incorrect computations by not being caught in try: except: for things like divide by zero. This has been fixed.
  • overhaul the Ellipsoid() class
  • apply good coding style and use only pyproject.toml (no setup.py, setup.cfg)
  • Require Python >= 3.8: Numpy NEP29 dropped support for Python < 3.8 in December 2021.
    We are having a harder time supporting corner cases in Python 3.7.

project PEP517

03 Jul 21:21
146f3da
Compare
Choose a tag to compare

add spherical<->geodetic transforms, enhance inputs and testing

17 Jun 17:32
23efbf6
Compare
Choose a tag to compare

lookAtSpheroid allows all inputs to be arrays of same shape

add functions spherical2geodetic, geodetic2spherical thanks @leouieda

remove internal "use_astropy" option

add mathfun.py to abstract numpy/math fallback

remove most numeric type hint

30 Mar 17:46
fb61475
Compare
Choose a tag to compare

The type hinting for most numerics was removed to avoid causing external package problems as per #50. thanks @randallpittman
The CI coverage was improved by testing each supported Python version across MacOS, Linux, and Windows.
The PEP621 pyproject.toml meta was removed to avoid duplication and conflicts with setup.cfg. thanks @philblckwd

ecef2geodetic stability with float32

22 Nov 06:36
6b19788
Compare
Choose a tag to compare

enhance ecef2geodetic stability with float32

loxodrome_direct stability near asymptote

18 Oct 21:07
727855e
Compare
Choose a tag to compare

Thanks to @noritada for finding and making tests for loxodrome_direct issues. Always appreciate hearing where the test suite isn't covering a broken case.

used numpy.broadcast_arrays to simplify code.

loxodrome_direct stability near asymptote, enhance CI

17 Oct 18:01
9660b08
Compare
Choose a tag to compare

CI tests Python 3.7...3.10

Added stability to loxodrome_direct for azimuth = {90,-90,270,-270}
enhanced efficiency of loxodrome_inverse for stability

speed imports, add -m pymap3d.{vdist,reckon}

25 May 21:43
204dfbf
Compare
Choose a tag to compare

Don't automatically import less widespread used modules including:

    lox
    los
    rcurve
    rsphere

this speeds imports for most users.

add command line convenience functions:

python -m pymap3d.vdist
python -m pymap3d.vreckon