fatiando / boule

Reference ellipsoids for geodesy and geophysics
https://www.fatiando.org/boule
BSD 3-Clause "New" or "Revised" License
38 stars 17 forks source link

Deprecate the coordinate conversion methods #126

Closed leouieda closed 2 years ago

leouieda commented 2 years ago

Description

Both geocentric spherical to/from geodetic coordinate conversion methods have been ported to pymap3d v2.9.0. Raise a FutureWarning and add a notice to the docstrings about removal of the methods in Boule v0.5.0 and point towards the pymap3d replacements instead.

Relevant issues/PRs

Fixes #122

leouieda commented 2 years ago

By the way, just found out about pytest.warns for testing warnings: https://docs.pytest.org/en/6.2.x/warnings.html#warns

cc @santisoler