{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/biggus/issues/176","repository_url":"https://api.github.com/repos/SciTools/biggus","labels_url":"https://api.github.com/repos/SciTools/biggus/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/biggus/issues/176/comments","events_url":"https://api.github.com/repos/SciTools/biggus/issues/176/events","html_url":"https://github.com/SciTools/biggus/pull/176","id":144328404,"number":176,"title":"BUG: Failing type return on masked array on LHS","user":{"login":"cpelley","id":2071643,"avatar_url":"https://avatars.githubusercontent.com/u/2071643?v=3","gravatar_id":"","url":"https://api.github.com/users/cpelley","html_url":"https://github.com/cpelley","followers_url":"https://api.github.com/users/cpelley/followers","following_url":"https://api.github.com/users/cpelley/following{/other_user}","gists_url":"https://api.github.com/users/cpelley/gists{/gist_id}","starred_url":"https://api.github.com/users/cpelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpelley/subscriptions","organizations_url":"https://api.github.com/users/cpelley/orgs","repos_url":"https://api.github.com/users/cpelley/repos","events_url":"https://api.github.com/users/cpelley/events{/privacy}","received_events_url":"https://api.github.com/users/cpelley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-03-29T17:10:36Z","updated_at":"2016-11-14T10:42:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SciTools/biggus/pulls/176","html_url":"https://github.com/SciTools/biggus/pull/176","diff_url":"https://github.com/SciTools/biggus/pull/176.diff","patch_url":"https://github.com/SciTools/biggus/pull/176.patch"},"body":"Self contained unittest which I have added and shown to **fail** (demonstrating what I believe to be a bug).  Essentially, the mask is thrown away.\n\n``` Python\n>>> arr = np.ma.array([1, 2, 3], mask=[False, True, False])\n>>> barr = biggus.NumpyArrayAdapter(arr)\n>>> print np.array([[ 1.]]) * barr\n[[  1.00000000e+00   9.99999000e+05   3.00000000e+00]]\n>>> print np.array([[ 1.]]) * arr\n[[1.0 -- 3.0]]\n```\n\nI suspect it's because its the `__mul__` from the masked numpy array that is being called and for whatever reason, it doesn't think the biggus array is masked.\n"},"comment":{"url":"https://api.github.com/repos/SciTools/biggus/issues/comments/260303389","html_url":"https://github.com/SciTools/biggus/pull/176#issuecomment-260303389","issue_url":"https://api.github.com/repos/SciTools/biggus/issues/176","id":260303389,"user":{"login":"cpelley","id":2071643,"avatar_url":"https://avatars.githubusercontent.com/u/2071643?v=3","gravatar_id":"","url":"https://api.github.com/users/cpelley","html_url":"https://github.com/cpelley","followers_url":"https://api.github.com/users/cpelley/followers","following_url":"https://api.github.com/users/cpelley/following{/other_user}","gists_url":"https://api.github.com/users/cpelley/gists{/gist_id}","starred_url":"https://api.github.com/users/cpelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpelley/subscriptions","organizations_url":"https://api.github.com/users/cpelley/orgs","repos_url":"https://api.github.com/users/cpelley/repos","events_url":"https://api.github.com/users/cpelley/events{/privacy}","received_events_url":"https://api.github.com/users/cpelley/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T10:42:55Z","updated_at":"2016-11-14T10:42:55Z","body":"OK Done"}}
{"actor":{"display_login":"cpelley"}}