Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Cast xarray.DataArrays to cupy #730

Open
taureandyernv opened this issue Aug 2, 2022 · 1 comment
Open

[FEA] Cast xarray.DataArrays to cupy #730

taureandyernv opened this issue Aug 2, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@taureandyernv
Copy link

taureandyernv commented Aug 2, 2022

Reason or Problem

Seems like there is a way to cast an xarray.Dataset to cupy, maybe not for xarray.DataArray

Proposal

I would like a way to cast an xarray.DataArray to cupy , as it does with xarray.Dataset

Usage:
GPU direct read of DataArray objects

Stakeholders and Impacts

RAPIDS

Drawbacks

Unknown

Alternatives

data = cupy.asarray(xarray.open_rasterio('data.tif').data) works, but isn't as efficient as making it cupy in the first place

Unresolved Questions

shrugs

Additional Notes or Context

None....for now :)

@brendancol brendancol added the enhancement New feature or request label Nov 18, 2022
@brendancol
Copy link
Contributor

@thuydotm can you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants