home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 257079041

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
257079041 MDU6SXNzdWUyNTcwNzkwNDE= 1571 to_netcdf fails for engine=h5netcdf when using dask-backed arrays 8982598 closed 0     2 2017-09-12T15:08:27Z 2019-02-12T05:39:19Z 2019-02-12T05:39:19Z CONTRIBUTOR      

When using dask-backed datasets/arrays it does not seem possible to use the 'h5netcdf' engine to write to disk:

python import xarray as xr ds = xr.Dataset({'a': ('x', [1, 2])}, {'x': [3, 4]}).chunk() ds.to_netcdf("test.h5", engine='h5netcdf')

results in the error:

```bash ...

h5py/h5a.pyx in h5py.h5a.open()

KeyError: "Can't open attribute (can't locate attribute: 'dask')" ```

Not sure if this is a xarray or h5netcdf issue - or some inherent limitation in which case apologies!

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1571/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.577ms · About: xarray-datasette