Open taureandyernv opened 1 year ago
Seems like there is a way to cast an xarray.Dataset to cupy, maybe not for xarray.DataArray
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
RAPIDS
Unknown
data = cupy.asarray(xarray.open_rasterio('data.tif').data) works, but isn't as efficient as making it cupy in the first place
data = cupy.asarray(xarray.open_rasterio('data.tif').data)
shrugs
None....for now :)
@thuydotm can you take a look at this?
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 placeUnresolved Questions
shrugs
Additional Notes or Context
None....for now :)