html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6713#issuecomment-1163526424,https://api.github.com/repos/pydata/xarray/issues/6713,1163526424,IC_kwDOAMm_X85FWgEY,2448579,2022-06-22T19:36:42Z,2022-06-22T19:36:42Z,MEMBER,"I guess we could raise a warning if `mask.dtype` is not bool; but that would be annoying if you passed an integer array with only 0, 1. IMO we should avoid the warning.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1279891109 https://github.com/pydata/xarray/issues/6713#issuecomment-1163254208,https://api.github.com/repos/pydata/xarray/issues/6713,1163254208,IC_kwDOAMm_X85FVdnA,2448579,2022-06-22T15:23:11Z,2022-06-22T15:23:11Z,MEMBER,You *should* be passing a boolean mask to `where`. So use `.where(mask.notnull())`,"{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1279891109