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/pull/806#issuecomment-218301821,https://api.github.com/repos/pydata/xarray/issues/806,218301821,MDEyOklzc3VlQ29tbWVudDIxODMwMTgyMQ==,1217238,2016-05-10T21:46:37Z,2016-05-10T21:46:37Z,MEMBER,"Finally got around to updating this. I added caching of these properties per @fmaussion's suggestion. Caching is a little error prone (I wrote a custom descriptor), but I think test cases should cover it pretty well. ","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,143877458 https://github.com/pydata/xarray/pull/806#issuecomment-202486324,https://api.github.com/repos/pydata/xarray/issues/806,202486324,MDEyOklzc3VlQ29tbWVudDIwMjQ4NjMyNA==,1217238,2016-03-28T17:03:13Z,2016-03-28T17:03:13Z,MEMBER,"> Just to be clear—xarray_obj is passed to the **init**() method of an accessor. Will this happen before, or after Dataset.**init**()/DataArray.**init**() is invoked? This will happen after Dataset.**init**/DataArray.**init**. For cases where you want to do custom initialization, the suggestion (which I should add) is to simply write your own function to use in place of `xarray.open_dataset`. It's probably worth noting in the documentation that this is equivalent to just adding a property, e.g., ``` python class Dataset: ... @property def geo(self) return GeoAccessor(self) ``` ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,143877458