You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the sparse package seems to grow in the ecosystem, I have integrated the combination of xarray and sparse in the package I am currently developing. I have experienced the power of duck-array features in xarray, since it took less than 10 minutes to convert the matrix involved to a sparse matrix and get all the tests to green. However, datasets involving sparse arrays can't be exported to netcdf files at this time.
Describe the solution you'd like
It would be great to think about some sort of interface so that the sparse (and maybe more generally duck) arrays could be serialized using declared methods.
Describe alternatives you've considered
At this time, I am converting the sparse entry to dense before saving them, which is fine but kinda loses the point of using it. I think I will write a custom loader/unloader using the coords/data interface of the sparse package at some point.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!
Is your feature request related to a problem?
As the sparse package seems to grow in the ecosystem, I have integrated the combination of xarray and sparse in the package I am currently developing. I have experienced the power of duck-array features in xarray, since it took less than 10 minutes to convert the matrix involved to a sparse matrix and get all the tests to green. However, datasets involving sparse arrays can't be exported to netcdf files at this time.
Describe the solution you'd like
It would be great to think about some sort of interface so that the sparse (and maybe more generally duck) arrays could be serialized using declared methods.
Describe alternatives you've considered
At this time, I am converting the sparse entry to dense before saving them, which is fine but kinda loses the point of using it. I think I will write a custom loader/unloader using the coords/data interface of the sparse package at some point.
Additional context
No response
The text was updated successfully, but these errors were encountered: