{"action":"closed","issue":{"url":"https://api.github.com/repos/pydata/xarray/issues/803","repository_url":"https://api.github.com/repos/pydata/xarray","labels_url":"https://api.github.com/repos/pydata/xarray/issues/803/labels{/name}","comments_url":"https://api.github.com/repos/pydata/xarray/issues/803/comments","events_url":"https://api.github.com/repos/pydata/xarray/issues/803/events","html_url":"https://github.com/pydata/xarray/issues/803","id":143422096,"number":803,"title":"Unable to reference variable","user":{"login":"JoyMonteiro","id":7300413,"avatar_url":"https://avatars.githubusercontent.com/u/7300413?v=3","gravatar_id":"","url":"https://api.github.com/users/JoyMonteiro","html_url":"https://github.com/JoyMonteiro","followers_url":"https://api.github.com/users/JoyMonteiro/followers","following_url":"https://api.github.com/users/JoyMonteiro/following{/other_user}","gists_url":"https://api.github.com/users/JoyMonteiro/gists{/gist_id}","starred_url":"https://api.github.com/users/JoyMonteiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoyMonteiro/subscriptions","organizations_url":"https://api.github.com/users/JoyMonteiro/orgs","repos_url":"https://api.github.com/users/JoyMonteiro/repos","events_url":"https://api.github.com/users/JoyMonteiro/events{/privacy}","received_events_url":"https://api.github.com/users/JoyMonteiro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/xarray/labels/usage%20question","name":"usage question","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T04:40:35Z","updated_at":"2016-03-26T03:59:24Z","closed_at":"2016-03-26T03:59:24Z","body":"Hello,\r\n\r\nI was trying to use xarray to access the MERRA-2 monthly dataset. This dataset provides nc4 files, one for each month, with multiple analyzed variables (U,V,T, etc.,) in each file.\r\n\r\nif I open one file and try to access the zonal wind (U) as \r\n```python\r\n       data = xarray.open_dataset('/data/MERRA2/MERRA2_100.instM_3d_ana_Np.198001.nc4')\r\n       data = data.U\r\n```\r\nThis works just fine.\r\n\r\nHowever, if I use \r\n```python\r\ndata = data.T\r\n```\r\nI get back the entire dataset, i.e, I then have data.T.T, and data.T.T.T etc.,\r\nI can open a single file using netCDF4, and the values seem ok. \r\n\r\nThis seems to happen only with the temperature (T) field. all other fields seem to\r\nbehave ok.\r\n\r\nAny ideas as to what is happening?\r\n\r\nTIA,\r\nJoy\r\n"}}