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/7299#issuecomment-1325508554,https://api.github.com/repos/pydata/xarray/issues/7299,1325508554,IC_kwDOAMm_X85PAafK,1482551,2022-11-23T18:42:54Z,2022-11-23T18:42:54Z,NONE,"Difference between empty and non-empty arrays comes from different logic used for empty arrays in `Variable._getitem_with_mask`. The problem itself can be solved by fixing `dtypes.maybe_promote` to return `fill_value=np.float32('nan')` instead of `fill_value=np.nan` on `dtype('float32')` input.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1455771929