issues
2 rows where repo = 13221727, state = "open" and user = 1610850 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
659129613 | MDU6SXNzdWU2NTkxMjk2MTM= | 4234 | Add ability to change underlying array type | jacobtomlinson 1610850 | open | 0 | 12 | 2020-07-17T10:37:34Z | 2021-04-19T03:21:54Z | CONTRIBUTOR | Is your feature request related to a problem? Please describe. In order to use Xarray with alternative array types like Right now I'm doing something like this. ```python import xarray as xr import cupy as cp ds = xr.tutorial.load_dataset("air_temperature") ds.air.data = cp.asarray(ds.air.data) ``` However this will become burdensome when there are many data arrays and feels brittle and prone to errors. As I see it a conversion could instead be done in a couple of places; on load, or as a utility method. Currently Xarray supports NumPy and Dask array well. Numpy is the defrault and the way you specify whether a Dask array should be used is to give the Side note: There are a few places where the Dask array API bleeds into Xarray in order to have compatibility, the Describe the solution you'd like For other array types I would like to propose the addition of an This would result in something like the following. ```python import xarray as xr import cupy as cp ds = xr.open_mfdataset("/path/to/files/*.nc", asarray=cp.ndarray) ords = xr.open_mfdataset("/path/to/files/*.nc") gds = ds.asarray(cp.ndarray) ``` These operations would convert all data arrays to It is still unclear what to do about index variables, which are currently of type Describe alternatives you've considered Instead of an Another option would be to go more high level with it. For example a Additional context Related to #4212. I'm keen to start implementing this. But would like some discussion/feedback before I dive in here. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4234/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue | ||||||||
654135405 | MDU6SXNzdWU2NTQxMzU0MDU= | 4212 | Add cupy support | jacobtomlinson 1610850 | open | 0 | 7 | 2020-07-09T15:06:37Z | 2021-02-08T16:50:38Z | CONTRIBUTOR | I'm intending on working on cupy support in xarray along with @quasiben. Thanks for the warm welcome in the xarray dev meeting yesterday! I'd like to use this issue to track cupy support and discuss certain design decisions. I appreciate there are also issues such as #4208, #3484 and #3232 which are related to cupy support, but maybe this could represent an umbrella issue for cupy specifically. The main goal here is to improve support for array types other than numpy and dask in general. However, it is likely there will need to be some cupy specific compatibility code in xarray. (@andersy005 raised issues with calling I would love to hear from folks wanting to use cupy with xarray to help build up some use cases for us to develop against. We have some ideas but more are welcome. My first steps here will be to add some tests which use cupy. These will skip in the main CI but we will also look at running xarray tests on some GPU CI too as we develop. A few limited experiments that I've run seem to work, so I'll start with tests which reproduce those. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4212/reactions", "total_count": 11, "+1": 11, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);