issues: 1108138101
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1108138101 | I_kwDOAMm_X85CDNh1 | 6174 | [FEATURE]: Read from/write to several NetCDF4 groups with a single file open/close operation | 57705593 | open | 0 | 10 | 2022-01-19T14:02:36Z | 2022-02-03T08:41:16Z | CONTRIBUTOR | Is your feature request related to a problem?I know that there is a big discussion going on in #4118 about organizing hierarchies of datasets within xarray's data structures. But this issue is supposed to address only a comparably simple aspect of this. Suppose that you have a list Describe the solution you'd likeI would like to have a function Describe alternatives you've consideredCurrently, I'm using the following read/write functions to achieve the same: ```python import pathlib from xarray.backends import NetCDF4DataStore from xarray.backends.api import dump_to_store from xarray.backends.common import ArrayWriter from xarray.backends.store import StoreBackendEntrypoint def _xr_to_netcdf_multi(path, ds_dict, encoding=None): """Write multiple xarray Datasets to separate groups in a single NetCDF4 file
def _xr_open_dataset_multi(path, prefix=""): """Read multiple xarray Datasets from groups contained in a single NetCDF4 file
def _xr_nc4_groups_from_store(store): """List all groups contained in the given NetCDF4 data store
``` Additional contextNo response |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6174/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |