{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/397","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/397/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/397/events","html_url":"https://github.com/Unidata/netcdf4-python/issues/397","id":68151654,"number":397,"title":"is there a funciton to flatten a dataset?","user":{"login":"mtpain","id":2425472,"avatar_url":"https://avatars.githubusercontent.com/u/2425472?v=3","gravatar_id":"","url":"https://api.github.com/users/mtpain","html_url":"https://github.com/mtpain","followers_url":"https://api.github.com/users/mtpain/followers","following_url":"https://api.github.com/users/mtpain/following{/other_user}","gists_url":"https://api.github.com/users/mtpain/gists{/gist_id}","starred_url":"https://api.github.com/users/mtpain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtpain/subscriptions","organizations_url":"https://api.github.com/users/mtpain/orgs","repos_url":"https://api.github.com/users/mtpain/repos","events_url":"https://api.github.com/users/mtpain/events{/privacy}","received_events_url":"https://api.github.com/users/mtpain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T17:29:34Z","updated_at":"2015-04-13T19:16:14Z","closed_at":null,"body":"In the NCO [`ncks`](http://nco.sourceforge.net/nco.html#ncks-netCDF-Kitchen-Sink) there's a way to [flatten groups](http://nco.sourceforge.net/nco.html#Flattening-Groups). Now it wouldn't be too much to do manually, but is there a built-in method for doing this with NetCDF4-python?"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/comments/92467260","html_url":"https://github.com/Unidata/netcdf4-python/issues/397#issuecomment-92467260","issue_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/397","id":92467260,"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":"2015-04-13T19:16:14Z","updated_at":"2015-04-13T19:16:14Z","body":"There is nothing currently, although I suppose it would not be too hard to write a utility function to to this.  I forsee problems with name collisions - for example, if two different groups have identically named variables."}}