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

Bouguer correction #8

Closed
leouieda opened this issue Oct 18, 2018 · 0 comments · Fixed by #38
Closed

Bouguer correction #8

leouieda opened this issue Oct 18, 2018 · 0 comments · Fixed by #38
Labels
enhancement Idea or request for a new feature good first issue Good for newcomers (doesn’t require deep knowledge of the project)
Milestone

Comments

@leouieda
Copy link
Member

Description of the desired feature

Our gravity processing will need the Bouguer correction. The correction aims to remove the effect of masses above the reference ellipsoid (topography) or the mass difference below the ellipsoid (oceans). The function should take two densities, one to apply to the masses at height > 0 (above) and another for masses at height < 0 (below). No contrasts should be calculate (i.e., to remove the effect of the oceans the user should give density_below=1040 - 2670). It's OK to provide defaults for above and below densities.

This should be a straight forward function:

def bouguer_plate(height, density_above=2670, density_below=-1630):
    ...
    return results

Notice that this function doesn't perform the correction itself, it calculates the effect of the Bouguer plates that has to be subtracted from the data. This makes it more inline with calculating a topographic effect using prisms or tesseroids.

@leouieda leouieda added enhancement Idea or request for a new feature help wanted good first issue Good for newcomers (doesn’t require deep knowledge of the project) labels Oct 18, 2018
@leouieda leouieda added this to the v0.1.0 milestone Oct 18, 2018
leouieda added a commit that referenced this issue Dec 22, 2018
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea or request for a new feature good first issue Good for newcomers (doesn’t require deep knowledge of the project)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant