Skip to content

Add multizarr opening#23

Merged
copybara-service[bot] merged 2 commits intogoogle:mainfrom
dfulu:open_multizarr
Sep 3, 2025
Merged

Add multizarr opening#23
copybara-service[bot] merged 2 commits intogoogle:mainfrom
dfulu:open_multizarr

Conversation

@dfulu
Copy link
Copy Markdown
Contributor

@dfulu dfulu commented Aug 19, 2025

Hi @shoyer, thanks for agreeing to review a PR for this. This addresses #12

This PR adds support to open multiple zarrs concatenated along a single dimension. I've tried to keep this as minimal as possible, and to adapt from the tests that are there already to cover this

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Aug 19, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Contributor

@shoyer shoyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Consider adding a brief note advertising this in the README?

Comment thread xarray_tensorstore_test.py Outdated
Comment thread setup.py Outdated
author='Google LLC',
author_email='noreply@google.com',
install_requires=['numpy', 'xarray', 'zarr', 'tensorstore'],
install_requires=['numpy', 'xarray', 'zarr', 'tensorstore', 'dask'],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep Dask as optional for installing Xarray-Tensorstore -- just add a note that it's required to the docstring for open_concatenated_zarrs().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reverted this back. I had the thought to add another option in extras_require, but I've left it for now unless you think otherwise

Comment thread xarray_tensorstore_test.py Outdated
@dfulu dfulu requested a review from shoyer September 1, 2025 19:16
copybara-service Bot pushed a commit that referenced this pull request Sep 3, 2025
--
5b46474 by James Fulton <djamesfulton@yahoo.co.uk>:

Add multizarr opening

--
7a1aaa9 by James Fulton <djamesfulton@yahoo.co.uk>:

Make dask optional, pdate docs, and lint

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23 from dfulu:open_multizarr 7a1aaa9
PiperOrigin-RevId: 802341813
copybara-service Bot pushed a commit that referenced this pull request Sep 3, 2025
--
5b46474 by James Fulton <djamesfulton@yahoo.co.uk>:

Add multizarr opening

--
7a1aaa9 by James Fulton <djamesfulton@yahoo.co.uk>:

Make dask optional, pdate docs, and lint

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23 from dfulu:open_multizarr 7a1aaa9
PiperOrigin-RevId: 802341813
copybara-service Bot pushed a commit that referenced this pull request Sep 3, 2025
--
5b46474 by James Fulton <djamesfulton@yahoo.co.uk>:

Add multizarr opening

--
7a1aaa9 by James Fulton <djamesfulton@yahoo.co.uk>:

Make dask optional, pdate docs, and lint

FUTURE_COPYBARA_INTEGRATE_REVIEW=#23 from dfulu:open_multizarr 7a1aaa9
PiperOrigin-RevId: 802341813
@copybara-service copybara-service Bot merged commit fc78499 into google:main Sep 3, 2025
7 checks passed
@dfulu dfulu deleted the open_multizarr branch September 4, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants