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

support for multi-dim hyperchunking #176

Merged
merged 1 commit into from
Mar 27, 2024
Merged

support for multi-dim hyperchunking #176

merged 1 commit into from
Mar 27, 2024

Conversation

jreadey
Copy link
Member

@jreadey jreadey commented Mar 26, 2024

This update enables hyperchunking for hsload --link for HSDS version 0.9.0 and greater.
For backlevel versions, ordinary 1-to-1 chunk mapping will be used.

@jreadey jreadey requested a review from mattjala March 26, 2024 19:30
chunks["dims"] = chunk_dims
layout_class = chunks.get("class")
server_version = fout.serverver
if server_version and server_version.startswith("0.9"):
Copy link
Contributor

Choose a reason for hiding this comment

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

This version check should probably be implemented as a greater-than comparison on tuples so it doesn't break if HSDS switches to a 1.X.X version

@mattjala
Copy link
Contributor

Does h5pyd currently have any tests that explicitly use hyperchunking?

@jreadey
Copy link
Member Author

jreadey commented Mar 26, 2024

I'll update h5pyd/test/apps/config.py with some filenames that should invoke hyperchunking.

@jreadey
Copy link
Member Author

jreadey commented Mar 27, 2024

I wasn't thinking - hyperchunking is only for hsload with --link. We should create some test for that as well, but it's a bit tricky.

@jreadey jreadey merged commit 15c97f3 into master Mar 27, 2024
10 checks passed
@jreadey jreadey deleted the hslsfix branch March 27, 2024 19:21
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