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

Option to return gravity in SI units #46

Closed leouieda closed 3 years ago

leouieda commented 4 years ago

Description of the desired feature

In #42, a point was raised that it would be convenient to have an option the gravity calculation methods return values in SI units. This would be a temporary fix until we have proper unit support (#23) but it would be useful to have. We can always remove/deprecate it once units are added.

It would mean adding the argument si_units=False to the normal_gravity method of Ellipsoid and Sphere.

Are you willing to help implement and maintain this feature? Yes but welcome anyone who would like to do it