{"action":"opened","issue":{"url":"https://api.github.com/repos/fatiando/harmonica/issues/8","repository_url":"https://api.github.com/repos/fatiando/harmonica","labels_url":"https://api.github.com/repos/fatiando/harmonica/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/fatiando/harmonica/issues/8/comments","events_url":"https://api.github.com/repos/fatiando/harmonica/issues/8/events","html_url":"https://github.com/fatiando/harmonica/issues/8","id":371354817,"node_id":"MDU6SXNzdWUzNzEzNTQ4MTc=","number":8,"title":"Bouguer correction","user":{"login":"leouieda","id":290082,"node_id":"MDQ6VXNlcjI5MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/290082?v=4","gravatar_id":"","url":"https://api.github.com/users/leouieda","html_url":"https://github.com/leouieda","followers_url":"https://api.github.com/users/leouieda/followers","following_url":"https://api.github.com/users/leouieda/following{/other_user}","gists_url":"https://api.github.com/users/leouieda/gists{/gist_id}","starred_url":"https://api.github.com/users/leouieda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leouieda/subscriptions","organizations_url":"https://api.github.com/users/leouieda/orgs","repos_url":"https://api.github.com/users/leouieda/repos","events_url":"https://api.github.com/users/leouieda/events{/privacy}","received_events_url":"https://api.github.com/users/leouieda/received_events","type":"User","site_admin":false},"labels":[{"id":993896101,"node_id":"MDU6TGFiZWw5OTM4OTYxMDE=","url":"https://api.github.com/repos/fatiando/harmonica/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":993896103,"node_id":"MDU6TGFiZWw5OTM4OTYxMDM=","url":"https://api.github.com/repos/fatiando/harmonica/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true},{"id":993896102,"node_id":"MDU6TGFiZWw5OTM4OTYxMDI=","url":"https://api.github.com/repos/fatiando/harmonica/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/fatiando/harmonica/milestones/1","html_url":"https://github.com/fatiando/harmonica/milestone/1","labels_url":"https://api.github.com/repos/fatiando/harmonica/milestones/1/labels","id":3653708,"node_id":"MDk6TWlsZXN0b25lMzY1MzcwOA==","number":1,"title":"v0.1.0","description":"A minimum product for a first release of Harmonica. These are the features that should be included from the start to set the look and feel of the library. It doesn't have to be comprehensive or extremely efficient. There **does** need to be full test coverage and comprehensive documentation (gallery, API, and tutorials). ","creator":{"login":"leouieda","id":290082,"node_id":"MDQ6VXNlcjI5MDA4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/290082?v=4","gravatar_id":"","url":"https://api.github.com/users/leouieda","html_url":"https://github.com/leouieda","followers_url":"https://api.github.com/users/leouieda/followers","following_url":"https://api.github.com/users/leouieda/following{/other_user}","gists_url":"https://api.github.com/users/leouieda/gists{/gist_id}","starred_url":"https://api.github.com/users/leouieda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leouieda/subscriptions","organizations_url":"https://api.github.com/users/leouieda/orgs","repos_url":"https://api.github.com/users/leouieda/repos","events_url":"https://api.github.com/users/leouieda/events{/privacy}","received_events_url":"https://api.github.com/users/leouieda/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-09-14T04:51:53Z","updated_at":"2018-10-18T04:13:52Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-10-18T04:13:51Z","updated_at":"2018-10-18T04:13:51Z","closed_at":null,"author_association":"MEMBER","body":"**Description of the desired feature**\r\n\r\nOur 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.\r\n\r\nThis should be a straight forward function:\r\n\r\n```\r\ndef bouguer_plate(height, density_above=2670, density_below=-1630):\r\n    ...\r\n    return results\r\n```\r\n\r\nNotice 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."}}
{"actor":{"display_login":"leouieda"}}