-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Enable plugin install #172
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/libnetcdf-feedstock/actions/runs/4533175882. |
…nda-forge-pinning 2023.03.29.08.25.52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look sensible. Thanks for running this down!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks great, and provides some direction for the netCDF documentation.
Checklist
Reset the build number to0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Fixes #174.
This installs the HDF5 filters that are shipped with Netcdf into the HDF5 default plugin directory, which is extracted from the HDF5 include file
H5pubconf.h
.The plugins need to be installed to make the new compression features functional, but there are options on where to install them. We could designate a new directory for plugins shipped with Netcdf, say
$PREFIX/lib/netcdf-plugins/{hdf5,nczarr,}
and make this known via theHDF5_PLUGIN_PATH
environment variable in activate scripts. There is also the H5PL interface that allows for programmatic registration of plugin paths and that has been around at least since HDF5 1.8.Currently, upstream targets the default HDF5 plugin path as does this PR.
PS: Notably this risks clobbering parts of https://github.com/conda-forge/ccr-feedstock and https://github.com/conda-forge/blosc-hdf5-plugin-feedstock, which maybe useful if you want to use HDF5 with advanced compression without Netcdf.