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 GZip/Zlib compression and Shuffle filter for S3 #136

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

markgoddard
Copy link

Adds support for netCDF files with Gzip/Zlib compression and/or the byte
shuffle filter when using the S3 storage backend.

The compression and filter integration tests now run when testing
against the S3 storage backend.

Closes #120

Adds support for netCDF files with Gzip/Zlib compression and/or the byte
shuffle filter when using the S3 storage backend.

The compression and filter integration tests now run when testing
against the S3 storage backend.

Closes #120
@markgoddard markgoddard self-assigned this Aug 15, 2023
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage is 90.90% of modified lines.

Files Changed Coverage
activestorage/active.py ø
activestorage/reductionist.py 90.90%

📢 Thoughts on this report? Let us know!.

@markgoddard
Copy link
Author

Please wait for #135 to merge before merging this PR.

Base automatically changed from issues/134 to main September 14, 2023 13:31
Copy link
Collaborator

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

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

ah great stuff, man, cheers muchly @markgoddard - one comment, and nothing else 🍺

if compression:
# Currently the numcodecs codec IDs map to the supported compression
# algorithm names in the active storage server. If that changes we may
# need to maintain a mapping here.
Copy link
Collaborator

Choose a reason for hiding this comment

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

we need to pull out the info in this docstring somewhere where it's a bit more visible too (README doubles as docs for now, and plop a link to the table)

@valeriupredoi valeriupredoi merged commit 716926e into main Sep 14, 2023
4 of 5 checks passed
@valeriupredoi valeriupredoi deleted the s3-compression branch September 14, 2023 14:35
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.

Add support for compressed and filtered datasets on S3 storage
2 participants