Skip to content

User-defined filters for HDF5 #1391

Discussion options

You must be logged in to vote

The issue was that to open the file I called

NetcdfFile file = NetcdfFile.open(filePath);

I think there still are two implementation of the hdf5 iosp and this deprecated method goes to the old one, through ucar.nc2.iosp.hdf5.H5tiledLayoutBB. To use the implementation that handles filters with the ucar.nc2.filter package, it was sufficient to open the file with

NetcdfFile file = NetcdfFiles.open(filePath);

instead. This will then go to ucar.nc2.internal.iosp.hdf5.H5tiledLayoutBB and the new implementation, which works as expected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcobitplane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant