-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement vnorm for xarray with dask support #735
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
Comments
I would be OK adding a You would either need to implement this all in xarray, or preferably write |
Note I mis-typed
When using large dask arrays that operation tended to fill up ram. I'm not sure why, but it made the dask objects very large, I don't have a good understanding of how those graphs are constructed so I was unable to track down the problem. I tried out
|
Looks like it would be worth writing a cross-compatible |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity |
Similarly to #723 I'd like to see if I can port vnorm from Dask into xarray. This a useful quick operation to have handy for linear models.
Previously as I work around I tried:
n = da.reduce(np.linalg.norm, ['shapes', 'x'] )
but it quickly explodes (eats up all ram) for large DaskArrays
The text was updated successfully, but these errors were encountered: