Releases: geospace-code/pymap3d
Default Ellipsoid improvements
Bugfix: don't use numpy.seterr
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
- 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
thanks @EpicWink
add spherical<->geodetic transforms, enhance inputs and testing
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
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
enhance ecef2geodetic stability with float32
loxodrome_direct stability near asymptote
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
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}
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