issues: 28375178
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28375178 | MDU6SXNzdWUyODM3NTE3OA== | 23 | Cross-platform in-memory serialization of netcdf4 (like the current scipy-based dumps) | 1794715 | open | 0 | 9 | 2014-02-26T22:15:35Z | 2021-02-10T13:56:27Z | CONTRIBUTOR | It would be nice to create in-memory netCDF4 objects. This is difficult with the netCDF4 library, which requires a filename (possibly one that it can mmap, but probably not, based on its opendap documentation). One solution is to call os.mkfifo (in *nix) or its windows equivalent (if the library is available) using tempfile.mktemp as the path. Pass this to the netCDF4 object. dumps() is equivalent to calling sync, close, reading from the pipe, then deleting the result. We may actually be able to use the same functionality in reverse for creating a netCDF4 object from a StringIO. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/23/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |