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/2304#issuecomment-451984471,https://api.github.com/repos/pydata/xarray/issues/2304,451984471,MDEyOklzc3VlQ29tbWVudDQ1MTk4NDQ3MQ==,971382,2019-01-07T16:04:11Z,2019-01-07T16:04:11Z,NONE,"Hi, thank you for your effort into making xarray a great library. As mentioned in the issue the discussion went on a PR in order to make xr.open_dataset parametrable. This post is about asking you about recommendations regarding our PR. In this case we would add a parameter to the open_dataset function called ""force_promote"" which is a boolean and False by default and thus not mandatory. And then spread that parameter down to the function maybe_promote in dtypes.py Where we say the following: if dtype.itemsize <= 2 and not force_promote: dtype = np.float32 else: dtype = np.float64 The downside of that is that we somehow pollute the code with a parameter that is used in a specific case. The second approach would check the value of an environment variable called ""XARRAY_FORCE_PROMOTE"" if it exists and set to true would force promoting type to float64. please tells us which approach suits best your vision of xarray. Regards.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,343659822 https://github.com/pydata/xarray/issues/2304#issuecomment-412492776,https://api.github.com/repos/pydata/xarray/issues/2304,412492776,MDEyOklzc3VlQ29tbWVudDQxMjQ5Mjc3Ng==,971382,2018-08-13T11:51:15Z,2018-08-13T11:51:15Z,NONE,Any updates about this ?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,343659822 https://github.com/pydata/xarray/issues/2304#issuecomment-410678021,https://api.github.com/repos/pydata/xarray/issues/2304,410678021,MDEyOklzc3VlQ29tbWVudDQxMDY3ODAyMQ==,971382,2018-08-06T11:31:00Z,2018-08-06T11:31:00Z,NONE,"As mentioned in the original issue the modification is straightforward. Any ideas if this could be integrated to xarray anytime soon ?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,343659822 https://github.com/pydata/xarray/issues/2304#issuecomment-407092265,https://api.github.com/repos/pydata/xarray/issues/2304,407092265,MDEyOklzc3VlQ29tbWVudDQwNzA5MjI2NQ==,971382,2018-07-23T15:10:13Z,2018-07-23T15:10:13Z,NONE,"Thank you for your quick answer. In our case we could evaluate std dev or square sums on long lists of values and the accumulation of those small values due to float32 type could create considerable differences.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,343659822