{"action":"created","issue":{"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/268","labels_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/268/comments","events_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/268/events","html_url":"https://github.com/radio-astro-tools/spectral-cube/pull/268","id":127698506,"number":268,"title":"More convenient beam area determination","user":{"login":"keflavich","id":143715,"avatar_url":"https://avatars.githubusercontent.com/u/143715?v=3","gravatar_id":"","url":"https://api.github.com/users/keflavich","html_url":"https://github.com/keflavich","followers_url":"https://api.github.com/users/keflavich/followers","following_url":"https://api.github.com/users/keflavich/following{/other_user}","gists_url":"https://api.github.com/users/keflavich/gists{/gist_id}","starred_url":"https://api.github.com/users/keflavich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keflavich/subscriptions","organizations_url":"https://api.github.com/users/keflavich/orgs","repos_url":"https://api.github.com/users/keflavich/repos","events_url":"https://api.github.com/users/keflavich/events{/privacy}","received_events_url":"https://api.github.com/users/keflavich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T14:49:58Z","updated_at":"2016-01-24T21:28:31Z","closed_at":"2016-01-21T10:50:29Z","pull_request":{"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/pulls/268","html_url":"https://github.com/radio-astro-tools/spectral-cube/pull/268","diff_url":"https://github.com/radio-astro-tools/spectral-cube/pull/268.diff","patch_url":"https://github.com/radio-astro-tools/spectral-cube/pull/268.patch"},"body":"add a cube utility attribute to get the area of the beam in pixels when a beam\nis defined"},"comment":{"url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/comments/174343197","html_url":"https://github.com/radio-astro-tools/spectral-cube/pull/268#issuecomment-174343197","issue_url":"https://api.github.com/repos/radio-astro-tools/spectral-cube/issues/268","id":174343197,"user":{"login":"e-koch","id":3255771,"avatar_url":"https://avatars.githubusercontent.com/u/3255771?v=3","gravatar_id":"","url":"https://api.github.com/users/e-koch","html_url":"https://github.com/e-koch","followers_url":"https://api.github.com/users/e-koch/followers","following_url":"https://api.github.com/users/e-koch/following{/other_user}","gists_url":"https://api.github.com/users/e-koch/gists{/gist_id}","starred_url":"https://api.github.com/users/e-koch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-koch/subscriptions","organizations_url":"https://api.github.com/users/e-koch/orgs","repos_url":"https://api.github.com/users/e-koch/repos","events_url":"https://api.github.com/users/e-koch/events{/privacy}","received_events_url":"https://api.github.com/users/e-koch/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T21:28:31Z","updated_at":"2016-01-24T21:28:31Z","body":"@keflavich - I think there's a conversion missing here: `self.beam.sr.to(u.deg**2)`. The try/except is masking a `UnitConversionError`."}}