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

Rechunk #11

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Rechunk #11

wants to merge 7 commits into from

Conversation

nbren12
Copy link
Contributor

@nbren12 nbren12 commented May 5, 2021

An example showing how xpartition can be used to rechunk an xarray object.

nbren12 added 7 commits April 8, 2021 14:07
now pip install works
zarr was not listed as a requirement so this didn't work
this is slightly more general than the existing "write" functionality, since
it can apply a function to a new dataset before writing.

This can be used to write a simple apache beam transformation.

add .partition method to return a list

Mathematically, a partition of a set A is a list disjoint sets
(potentially infinite) that cover A. The current code encodes this list
like structure using "dims", "rank", "ranks", but given how tightly coupled
this concepts are (e.g. rank < ranks) it makes sense to collect them in
one data structure, in this case a list of regions.
Can be run with tox -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant