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 support for zstandard compression #367

Merged
merged 19 commits into from
Jul 7, 2022
Merged

Conversation

edwardhartnett
Copy link
Contributor

Fixes #350

This PR is a work in progress, which I am posting as a draft PR to take advantage of the GitHub CI.

This PR adds Zstandard to the F77 and F90 APIs, including tests.

The presence of Zstandard in the netcdf-c library is determined in the autotools/CMake build. The fortran functions return the NOTBUILT error if the user attempts to use Zstandard on a build where Zstandard was not found.

The tests require the zstandard filter to be in the HDF5_PLUGIN_PATH.

@edwardhartnett
Copy link
Contributor Author

edwardhartnett commented Jul 5, 2022

OK, figured it out. I didn't update the netCDF versions everywhere in the YML file...

@WardF
Copy link
Member

WardF commented Jul 5, 2022

Looks good so far; I've got the wellspring branch up with a couple of blocks of placeholder text in the release notes. I'll go back and review the older PR's as well as wait until this one leaves draft status. Thanks @edwardhartnett !

@WardF WardF self-assigned this Jul 5, 2022
@WardF WardF added this to the 4.6.0 milestone Jul 5, 2022
@edwardhartnett
Copy link
Contributor Author

Getting close to done here. Some things left to handle and test:

  • shuffle
  • classic_mode
  • error code correctness for common error cases

@edwardhartnett edwardhartnett marked this pull request as ready for review July 7, 2022 15:24
@edwardhartnett
Copy link
Contributor Author

@WardF this is ready for merging.

@WardF WardF merged commit 8e61950 into Unidata:main Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

need to add wrappers for functions nc_def_var_zstandard()/nc_inq_var_zstandard()
2 participants