Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function for planar Bouguer correction #38

Merged
merged 2 commits into from
Dec 22, 2018
Merged

Function for planar Bouguer correction #38

merged 2 commits into from
Dec 22, 2018

Conversation

leouieda
Copy link
Member

Adds a bouguer_correction function that calculate the planar Bouguer correction for land and oceans. The topography provided can be a numpy array or xarray.DataArray. Includes an example application to the global gravity sample data. In this case, need to convert the geoid-referenced ETOPO1 topography to ellipsoid heights.

Fixes #8

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to the docstring, gallery, and/or tutorials.

Example and function are ready. Need tests and more docstring content. A
figure explaining the correction on oceans and land would be great.
@leouieda leouieda merged commit 7820f61 into master Dec 22, 2018
@leouieda leouieda deleted the bouguer branch December 22, 2018 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bouguer correction
1 participant