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/pull/4687#issuecomment-773235926,https://api.github.com/repos/pydata/xarray/issues/4687,773235926,MDEyOklzc3VlQ29tbWVudDc3MzIzNTkyNg==,10194086,2021-02-04T11:24:43Z,2021-02-04T11:24:43Z,MEMBER,"> I can get there by replacing `duck_array_ops.where` with `duck_array_ops.where_method` Is that because `apply_ufunc(..., keep_attrs=True)` keeps the attrs of the first argument? Could you restore the dimension order after the `apply_ufunc` or is it not possible to figure it out? Then I'd be fine with a changed order... ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,765639913