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/7362#issuecomment-1341826211,https://api.github.com/repos/pydata/xarray/issues/7362,1341826211,IC_kwDOAMm_X85P-qSj,38434768,2022-12-08T01:04:22Z,2022-12-08T01:04:22Z,NONE,"Great, thank you! We're actually planning to removing the `set_options` that triggered the edge case here in geocat-comp, but I still think the check in #7364 is useful and might save someone else (possibly me again 😆 ) in the future some trouble.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1478060173 https://github.com/pydata/xarray/issues/7362#issuecomment-1340034181,https://api.github.com/repos/pydata/xarray/issues/7362,1340034181,IC_kwDOAMm_X85P30yF,38434768,2022-12-06T21:29:37Z,2022-12-06T21:29:37Z,NONE,"@dcherian That's a fair point. The function we wrote is supposed to support numpy and xarray input, and previously it was easier to use `xr.where()` for both cases instead of checking for input type repeatedly. I just walked through my debugger with one of my failing tests and yes, it does appear that `apply_ufunc` is returning numpy output for all numpy input. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1478060173