issues: 1773296009
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1773296009 | I_kwDOAMm_X85pslmJ | 7940 | decide on how to handle `empty_like` | 90008 | open | 0 | 8 | 2023-06-25T13:48:46Z | 2023-07-05T16:36:35Z | CONTRIBUTOR | Is your feature request related to a problem?calling ```python from xarray.tests import InaccessibleArray import xarray as xr import numpy as np array = InaccessibleArray(np.zeros((3, 3), dtype="uint8")) da = xr.DataArray(array, dims=["x", "y"]) np.empty_like(da) ```
Describe the solution you'd likeI'm not too sure. This is why I raised this as a "feature" and not a bug. On one hand, it is pretty hard to "get" the underlying class. Is it a:
I think that there are also some nuances between:
Describe alternatives you've consideredfor now, i'm trying to avoid In general, we haven't seen much benefit from dask and cuda still needs careful memory management. Additional contextNo response |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7940/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |