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

Example of map_blocks/apply_gufunc #519

Open
tomwhite opened this issue Jul 25, 2024 · 1 comment
Open

Example of map_blocks/apply_gufunc #519

tomwhite opened this issue Jul 25, 2024 · 1 comment
Labels

Comments

@tomwhite
Copy link
Member

@TomNicholas mentioned that people at SciPy asked how to apply an arbitrary function to arrays in Cubed. An example would help users get started with this. It should cover how to estimate memory (and check if it is exceeded using #110).

@TomNicholas
Copy link
Member

It doesn't need to be complicated - even a function applied in an embarrassingly parallel manner using vectorize=True argument to xr.apply_ufunc would be enough to show users what is needed beyond the existing documentation on xr.apply_ufunc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants