{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/578","repository_url":"https://api.github.com/repos/Unidata/netcdf4-python","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/578/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/578/events","html_url":"https://github.com/Unidata/netcdf4-python/issues/578","id":170198298,"number":578,"title":"Variable objects don't have an available \"name\" attribute","user":{"login":"edupenabad","id":13150692,"avatar_url":"https://avatars.githubusercontent.com/u/13150692?v=3","gravatar_id":"","url":"https://api.github.com/users/edupenabad","html_url":"https://github.com/edupenabad","followers_url":"https://api.github.com/users/edupenabad/followers","following_url":"https://api.github.com/users/edupenabad/following{/other_user}","gists_url":"https://api.github.com/users/edupenabad/gists{/gist_id}","starred_url":"https://api.github.com/users/edupenabad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edupenabad/subscriptions","organizations_url":"https://api.github.com/users/edupenabad/orgs","repos_url":"https://api.github.com/users/edupenabad/repos","events_url":"https://api.github.com/users/edupenabad/events{/privacy}","received_events_url":"https://api.github.com/users/edupenabad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-09T15:34:58Z","updated_at":"2016-08-09T17:05:38Z","closed_at":null,"body":"\r\nI'm trying to do the following:\r\n\r\n```python\r\nimport netCDF4 as nc\r\n\r\nds = nc.Dataset('file.nc','r')\r\nvv = ds.variables['some_var_name']\r\n\r\nprint vv.name\r\n```\r\n\r\nand I get an `AttributeError: NetCDF: Attribute not found`\r\n\r\nShouldn't I be able to access a netCDF4.Variable object's name in that way?"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/comments/238620564","html_url":"https://github.com/Unidata/netcdf4-python/issues/578#issuecomment-238620564","issue_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/578","id":238620564,"user":{"login":"jswhit","id":579593,"avatar_url":"https://avatars.githubusercontent.com/u/579593?v=3","gravatar_id":"","url":"https://api.github.com/users/jswhit","html_url":"https://github.com/jswhit","followers_url":"https://api.github.com/users/jswhit/followers","following_url":"https://api.github.com/users/jswhit/following{/other_user}","gists_url":"https://api.github.com/users/jswhit/gists{/gist_id}","starred_url":"https://api.github.com/users/jswhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jswhit/subscriptions","organizations_url":"https://api.github.com/users/jswhit/orgs","repos_url":"https://api.github.com/users/jswhit/repos","events_url":"https://api.github.com/users/jswhit/events{/privacy}","received_events_url":"https://api.github.com/users/jswhit/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T17:05:38Z","updated_at":"2016-08-09T17:05:38Z","body":"Works for me\r\n```python\r\n>>> from netCDF4 import Dataset\r\n>>> nc = Dataset('http://test.opendap.org/opendap/data/nc/bears.nc')\r\n>>> v = nc['bears']\r\n>>> v.name\r\nu'bears'\r\n```\r\n\r\nThis was added in version 1.1.2\r\n"}}
{"actor":{"display_login":"jswhit"}}