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/5098#issuecomment-812453263,https://api.github.com/repos/pydata/xarray/issues/5098,812453263,MDEyOklzc3VlQ29tbWVudDgxMjQ1MzI2Mw==,226037,2021-04-02T09:33:24Z,2021-04-02T09:33:43Z,MEMBER,"The reason to delegate all path normalisation to backends is that not all strings are paths, for example `'NETCDF:""~/sst.nc"":tos'` is a valid source string for GDAL / rasterio. I would suggest to add path normalisation to the backends that needs them, in order to avoid any special case in the common code path. @aurghs I suggest you add `os.path.expanduser` in the netCDF backend.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,847014702 https://github.com/pydata/xarray/issues/5098#issuecomment-811820701,https://api.github.com/repos/pydata/xarray/issues/5098,811820701,MDEyOklzc3VlQ29tbWVudDgxMTgyMDcwMQ==,35919497,2021-04-01T10:40:37Z,2021-04-01T10:41:44Z,COLLABORATOR,"I think that this is consequence of the refactor done by @alexamici when he has removed `_normalize_path`: https://github.com/pydata/xarray/pull/4701 We decided to demand the path interpretation to the backends. I'll have a look to understand how to fix it. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,847014702