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

Compatibility with pymap3d #114

Closed leouieda closed 2 years ago

leouieda commented 2 years ago

pymap3d implements a bunch of coordinates conversions. They also have an Ellipsoid class that defines similar parameters to ours. There may be only one or two parameters that have slightly different names. I think it would be worth making our ellipsoids compatible with theirs so we can pass them to their coordinate conversion functions.

Will need to have some tests doing so to make sure things keep working.

leouieda commented 2 years ago

Another aspect of this is going to be making the coordinate conversions into functions since that's what pymap3d has. I'm OK with that since it's only a few functions that only one of the ellipsoid classes has.