{"action":"created","issue":{"url":"https://api.github.com/repos/poliastro/poliastro/issues/96","labels_url":"https://api.github.com/repos/poliastro/poliastro/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/poliastro/poliastro/issues/96/comments","events_url":"https://api.github.com/repos/poliastro/poliastro/issues/96/events","html_url":"https://github.com/poliastro/poliastro/issues/96","id":124668813,"number":96,"title":"check units on Body / State instantiation","user":{"login":"bryan-lunt","id":76123,"avatar_url":"https://avatars.githubusercontent.com/u/76123?v=3","gravatar_id":"","url":"https://api.github.com/users/bryan-lunt","html_url":"https://github.com/bryan-lunt","followers_url":"https://api.github.com/users/bryan-lunt/followers","following_url":"https://api.github.com/users/bryan-lunt/following{/other_user}","gists_url":"https://api.github.com/users/bryan-lunt/gists{/gist_id}","starred_url":"https://api.github.com/users/bryan-lunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryan-lunt/subscriptions","organizations_url":"https://api.github.com/users/bryan-lunt/orgs","repos_url":"https://api.github.com/users/bryan-lunt/repos","events_url":"https://api.github.com/users/bryan-lunt/events{/privacy}","received_events_url":"https://api.github.com/users/bryan-lunt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-03T20:12:47Z","updated_at":"2016-01-04T06:58:44Z","closed_at":null,"body":"Currently if you instantiate a body with the gravitational parameter in m^3/s^2 (some) results later in the program become nonsense.\r\nI humbly propose it would be nice to either check that the units are km^3/s^2 when instantiating  body, throwing an exception if they are not, or better yet, to convert them to the appropriate unit."},"comment":{"url":"https://api.github.com/repos/poliastro/poliastro/issues/comments/168598335","html_url":"https://github.com/poliastro/poliastro/issues/96#issuecomment-168598335","issue_url":"https://api.github.com/repos/poliastro/poliastro/issues/96","id":168598335,"user":{"login":"Juanlu001","id":316517,"avatar_url":"https://avatars.githubusercontent.com/u/316517?v=3","gravatar_id":"","url":"https://api.github.com/users/Juanlu001","html_url":"https://github.com/Juanlu001","followers_url":"https://api.github.com/users/Juanlu001/followers","following_url":"https://api.github.com/users/Juanlu001/following{/other_user}","gists_url":"https://api.github.com/users/Juanlu001/gists{/gist_id}","starred_url":"https://api.github.com/users/Juanlu001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juanlu001/subscriptions","organizations_url":"https://api.github.com/users/Juanlu001/orgs","repos_url":"https://api.github.com/users/Juanlu001/repos","events_url":"https://api.github.com/users/Juanlu001/events{/privacy}","received_events_url":"https://api.github.com/users/Juanlu001/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T06:58:44Z","updated_at":"2016-01-04T06:58:44Z","body":"Hello @bryan-lunt, thanks for the suggestion! However, a check like that is already in place in the library: https://github.com/poliastro/poliastro/blob/4a5692bcc10b96a4ab5e86ba02e43bd1d9bb572b/src/poliastro/bodies.py#L39 did you mean something else?"}}