New hdf5/netcdf4 compression #983
Replies: 7 comments 7 replies
-
I believe @haileyajohnson is on it. Compression is also an issue with Zarr support, and I believe she is looking at creating a codec subproject to handle the various compression schemes (refactoring our current HDF5 compression related code out of core and into the codec subproject). The tricky part is finding pure java encodes/decoders to work with. There are some promising candidates, but they are not fully worked out, or they "secretly" rely on transitive native code. |
Beta Was this translation helpful? Give feedback.
-
https://support.hdfgroup.org/HDF5/doc/H5.format.html has:
of which netcdf-java only has deflate, shuffle and fletcher32. http://www.hector.ac.uk/cse/distributedcse/reports/nemo/nemo_notes/node56.html has There are a number of different filters which can be applied to an HDF5 dataset: SO, if we had some example data, we could try adding the last two. |
Beta Was this translation helpful? Give feedback.
-
Ive just added a zstandard filter (PR #984)
|
Beta Was this translation helpful? Give feedback.
-
we could also ask HDF about BZ2, BLOSC, LZ4, LZF, ZFP, and MAFISC. Are they documented somewhere? |
Beta Was this translation helpful? Give feedback.
-
A possibly clueless question, but will these projects affect netCDF-Java support for HDF5 1.10.5? I've had a recent query from a group at NASA/GSFC who are planning a data product, and Panoply, IDV, and other apps using NJ cannot open their test files due to lack of such support. |
Beta Was this translation helpful? Give feedback.
-
Ill let Hailey answer your questions, but we'd love to get any test files with compression problems. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for explanation. My intention is to eventually add support for 1.10. So gathering example files (esp small ones eg a few mb) will be useful for testing that. |
Beta Was this translation helpful? Give feedback.
-
ed hartnett is working on adding new compression to netcdf4. In particular, zstandard is ready to roll.
more generally, the hdf5 group reports: "Currently we provide decoders for BZ2, BLOSC, LZ4, LZF, ZFP, and MAFISC."
see Unidata/netcdf-c#1545 for more.
Beta Was this translation helpful? Give feedback.
All reactions