{"action":"created","issue":{"url":"https://api.github.com/repos/landlab/landlab/issues/313","repository_url":"https://api.github.com/repos/landlab/landlab","labels_url":"https://api.github.com/repos/landlab/landlab/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/landlab/landlab/issues/313/comments","events_url":"https://api.github.com/repos/landlab/landlab/issues/313/events","html_url":"https://github.com/landlab/landlab/pull/313","id":154277207,"number":313,"title":"Move slope calculation methods to gradients module","user":{"login":"mcflugen","id":6618196,"avatar_url":"https://avatars.githubusercontent.com/u/6618196?v=3","gravatar_id":"","url":"https://api.github.com/users/mcflugen","html_url":"https://github.com/mcflugen","followers_url":"https://api.github.com/users/mcflugen/followers","following_url":"https://api.github.com/users/mcflugen/following{/other_user}","gists_url":"https://api.github.com/users/mcflugen/gists{/gist_id}","starred_url":"https://api.github.com/users/mcflugen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcflugen/subscriptions","organizations_url":"https://api.github.com/users/mcflugen/orgs","repos_url":"https://api.github.com/users/mcflugen/repos","events_url":"https://api.github.com/users/mcflugen/events{/privacy}","received_events_url":"https://api.github.com/users/mcflugen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/landlab/landlab/milestones/2","html_url":"https://github.com/landlab/landlab/milestones/1.0","labels_url":"https://api.github.com/repos/landlab/landlab/milestones/2/labels","id":1672928,"number":2,"title":"1.0","description":"The landlab 1.0 release.","creator":{"login":"mcflugen","id":6618196,"avatar_url":"https://avatars.githubusercontent.com/u/6618196?v=3","gravatar_id":"","url":"https://api.github.com/users/mcflugen","html_url":"https://github.com/mcflugen","followers_url":"https://api.github.com/users/mcflugen/followers","following_url":"https://api.github.com/users/mcflugen/following{/other_user}","gists_url":"https://api.github.com/users/mcflugen/gists{/gist_id}","starred_url":"https://api.github.com/users/mcflugen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcflugen/subscriptions","organizations_url":"https://api.github.com/users/mcflugen/orgs","repos_url":"https://api.github.com/users/mcflugen/repos","events_url":"https://api.github.com/users/mcflugen/events{/privacy}","received_events_url":"https://api.github.com/users/mcflugen/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-03-29T22:31:12Z","updated_at":"2016-05-11T15:47:59Z","due_on":"2016-04-30T06:00:00Z","closed_at":null},"comments":8,"created_at":"2016-05-11T15:47:56Z","updated_at":"2016-05-11T16:58:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/landlab/landlab/pulls/313","html_url":"https://github.com/landlab/landlab/pull/313","diff_url":"https://github.com/landlab/landlab/pull/313.diff","patch_url":"https://github.com/landlab/landlab/pull/313.patch"},"body":"This pull request moves the slope calculation functions from `base.py` into `gradients.py`. All of the functions are still available as methods of `ModelGrid` but are now standalone functions. This is mostly just an organizational move.\r\n\r\nAdded a new function, `radians_to_degrees` that converts math-style angles (radians, measured counter-clockwise from the positive x-axis) to compass-style angles (degress, measured clockwise from north).\r\n\r\nQuestion for @SiccarPoint: `calc_aspect_of_node` can return angles in degrees or radians. However, when returning radians it gives them measured clockwise from north. Is this intended? It seems like it should be the usual CCW from x, no?"},"comment":{"url":"https://api.github.com/repos/landlab/landlab/issues/comments/218522278","html_url":"https://github.com/landlab/landlab/pull/313#issuecomment-218522278","issue_url":"https://api.github.com/repos/landlab/landlab/issues/313","id":218522278,"user":{"login":"SiccarPoint","id":6867260,"avatar_url":"https://avatars.githubusercontent.com/u/6867260?v=3","gravatar_id":"","url":"https://api.github.com/users/SiccarPoint","html_url":"https://github.com/SiccarPoint","followers_url":"https://api.github.com/users/SiccarPoint/followers","following_url":"https://api.github.com/users/SiccarPoint/following{/other_user}","gists_url":"https://api.github.com/users/SiccarPoint/gists{/gist_id}","starred_url":"https://api.github.com/users/SiccarPoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiccarPoint/subscriptions","organizations_url":"https://api.github.com/users/SiccarPoint/orgs","repos_url":"https://api.github.com/users/SiccarPoint/repos","events_url":"https://api.github.com/users/SiccarPoint/events{/privacy}","received_events_url":"https://api.github.com/users/SiccarPoint/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T16:58:31Z","updated_at":"2016-05-11T16:58:31Z","body":"I believe you have failed to move a few equivalent methods out of raster.py. Was this deliberate?"}}