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

add consolidate to single_zarr #439

Merged
merged 7 commits into from
Mar 22, 2024

Conversation

raybellwaves
Copy link
Contributor

No description provided.

kerchunk/zarr.py Outdated
inline_threshold=100,
inline=None,
out=None,
translate=False,
Copy link
Member

Choose a reason for hiding this comment

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

I think it should just always be True, no need for the kwarg. (Also "translate" is the method on most scanning classes, so would be confusing).
A good argument to optionally include would be an output; at the moment we have out is None (return JSON), or a parquet set; if it were a .json path, we should write to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies pushed an old commit. renamed it to consolidate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll take a look at the write to json

@raybellwaves raybellwaves changed the title WIP: add consolidate to single_zarr add consolidate to single_zarr Mar 21, 2024
@raybellwaves
Copy link
Contributor Author

I think this is ready for review.

I opened #441 to think about writing to json in the function a bit more

@martindurant martindurant merged commit a0c4f3b into fsspec:main Mar 22, 2024
5 checks passed
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.

2 participants