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/1582#issuecomment-330909334,https://api.github.com/repos/pydata/xarray/issues/1582,330909334,MDEyOklzc3VlQ29tbWVudDMzMDkwOTMzNA==,2443309,2017-09-20T16:36:11Z,2018-03-16T18:48:46Z,MEMBER,"> I don't know what kind of data tags() might contain in general. I'm not opposed to decoding the values that are in tags as part of the rasterio backend. @maaleske, perhaps you can do some research to let us know what types of values the tags method is going to return. @fmaussion - I'm not entirely opposed to this. It may require a bit of effort to make sure modifying the file object as part of the public API doesn't do nasty things.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,259057144 https://github.com/pydata/xarray/issues/1582#issuecomment-331010431,https://api.github.com/repos/pydata/xarray/issues/1582,331010431,MDEyOklzc3VlQ29tbWVudDMzMTAxMDQzMQ==,2443309,2017-09-20T23:39:15Z,2017-09-20T23:39:15Z,MEMBER,This is still a bit confusing. Maybe we should open a discussion/issue with the rasterio team. ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,259057144 https://github.com/pydata/xarray/issues/1582#issuecomment-330783075,https://api.github.com/repos/pydata/xarray/issues/1582,330783075,MDEyOklzc3VlQ29tbWVudDMzMDc4MzA3NQ==,10050469,2017-09-20T08:30:49Z,2017-09-20T08:30:49Z,MEMBER,"Note that the rasterio object is available via the (undocumented) ``_file_obj`` attribute. So a quick workaround for you would simply be: ```python ds = xr.open_rasterio(file) ds._file_obj.tags() ``` This makes me wonder if it wouldn't be easier for xarray to make the ``file_obj`` public API and don't care about all the possible special cases... @shoyer @jhamman thoughts? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,259057144