Skip to content

Issue about the result of hm.tesseroid_gravity function #118

Closed Answered by santisoler
Arin47k asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Arin47k . Thanks for opening this question. Sorry for the delayed reply, I was too busy in the last month and I took the last week off.

From what I see in your code you do have one tesseroid with non-zero volume (the last one in your list), therefore it's expected that you'll get a non-zero gravitational effect on every observation point.

If you remove that last tesseroid in your list and rerun your script, you'll actually get zero values in your result:

import boule as bl
import verde as vd
import harmonica as hm

ellipsoid = bl.WGS84
mean_radius = ellipsoid.mean_radius

tesseroids = (
    [-70, -60, -40, -30, mean_radius, mean_radius],
    [-70, -60, -30, -20, mean_radius, mean_radius

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MGomezN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants