id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 218459353,MDU6SXNzdWUyMTg0NTkzNTM=,1346,bottleneck : Wrong mean for float32 array,6360066,open,0,,,19,2017-03-31T10:15:42Z,2022-05-08T19:54:57Z,,NONE,,,,"I think it is better to have this discussion here instead of on the `dask` page https://github.com/dask/dask/issues/2095 This is the replicable ""bug"": ``` ds = xarray.open_dataset('/opt/data/ERAIN/ERAIN-t2m-1983-2012.seasmean.nc') ds.var167.mean() Out[14]: array(261.6441345214844) ds.var167.data.mean() Out[15]: 278.62466 ``` The dataset is ~65 MB, here the file https://www.dropbox.com/s/xtj3fm7ihtbwd5r/ERAIN-t2m-1983-2012.seasmean.nc?dl=0 It is a quite normal NetCDF (no NaN), just processed with CDO as you can see on the dask issue.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1346/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,issue