{"action":"created","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/652","repository_url":"https://api.github.com/repos/Unidata/netcdf4-python","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/652/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/652/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/652/events","html_url":"https://github.com/Unidata/netcdf4-python/pull/652","id":224975135,"number":652,"title":"add support for opening file from memory","user":{"login":"thehesiod","id":4001789,"avatar_url":"https://avatars2.githubusercontent.com/u/4001789?v=3","gravatar_id":"","url":"https://api.github.com/users/thehesiod","html_url":"https://github.com/thehesiod","followers_url":"https://api.github.com/users/thehesiod/followers","following_url":"https://api.github.com/users/thehesiod/following{/other_user}","gists_url":"https://api.github.com/users/thehesiod/gists{/gist_id}","starred_url":"https://api.github.com/users/thehesiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehesiod/subscriptions","organizations_url":"https://api.github.com/users/thehesiod/orgs","repos_url":"https://api.github.com/users/thehesiod/repos","events_url":"https://api.github.com/users/thehesiod/events{/privacy}","received_events_url":"https://api.github.com/users/thehesiod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2017-04-28T04:10:35Z","updated_at":"2017-07-11T22:32:26Z","closed_at":"2017-05-01T01:28:26Z","pull_request":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/pulls/652","html_url":"https://github.com/Unidata/netcdf4-python/pull/652","diff_url":"https://github.com/Unidata/netcdf4-python/pull/652.diff","patch_url":"https://github.com/Unidata/netcdf4-python/pull/652.patch"},"body":"fixes: https://github.com/Unidata/netcdf4-python/issues/406 and https://github.com/Unidata/netcdf4-python/issues/295, requires: https://github.com/Unidata/netcdf-c/issues/394 to be fixed"},"comment":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/comments/314591001","html_url":"https://github.com/Unidata/netcdf4-python/pull/652#issuecomment-314591001","issue_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/652","id":314591001,"user":{"login":"dopplershift","id":221526,"avatar_url":"https://avatars1.githubusercontent.com/u/221526?v=3","gravatar_id":"","url":"https://api.github.com/users/dopplershift","html_url":"https://github.com/dopplershift","followers_url":"https://api.github.com/users/dopplershift/followers","following_url":"https://api.github.com/users/dopplershift/following{/other_user}","gists_url":"https://api.github.com/users/dopplershift/gists{/gist_id}","starred_url":"https://api.github.com/users/dopplershift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopplershift/subscriptions","organizations_url":"https://api.github.com/users/dopplershift/orgs","repos_url":"https://api.github.com/users/dopplershift/repos","events_url":"https://api.github.com/users/dopplershift/events{/privacy}","received_events_url":"https://api.github.com/users/dopplershift/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T22:32:26Z","updated_at":"2017-07-11T22:32:26Z","body":"@TWellman I needed it to be a netCDF file (apparently--I guess I forgot about it). This is what I've done for now until netCDF 4.5 is released:\r\n```python\r\n    with NamedTemporaryFile(suffix='.nc') as temp:\r\n        # Create a temporary netCDF file to work around bug in netCDF C 4.4.1.1\r\n        # We shouldn't actually need any file on disk.\r\n        nc_temp = Dataset(temp.name, 'w').close()\r\n        nc =  Dataset(temp.name, memory=mem_buffer)\r\n```"}}
{"actor":{"display_login":"dopplershift"}}