Getting paraview to read ZFP compressed netCDF4 files (hdf5 files)

Hello,

My data format is ZFP-compressed netCDF4 (netcdf4 files are HDF5 files). For Paraview version 5.11.1 I was able to get paraview to read my ZFP compressed netCDF4 files by setting my HDF5_PLUGIN_PATH variable to where my H5Z-ZFP plugin file was. I made sure to build the plugin with the same version of HDF5 as paraview shipped with, and it just worked. Now I’m trying to get Paraview version 5.12.1 to work using the same approach, but I’m getting segfaults when I try to Ioad data.

So my question is, what is the best way to have version 5.12.1 to work with ZFP compressed data? I am wondering if anyone has general advice for having Paraview work with, say, an external HDF5 library rather than the one it ships with. I have built from scratch hdf5, netcdf4, zfp, and h5z-zfp, but I can’t get Paraview to work with my h5z-zfp plugin file.

I guess a general question would be how does one deal with hdf5 data that uses a compression library that doesn’t ship with hdf5.

There’s a long-abandoned contribution to add ZFP support to VTK (I took over for the original author to do third party shenanigans, but it never got across the line). So libzfp is in VTK, but nothing uses it. I suppose getting HDF5 to use it wouldn’t be that much trouble.

Cc: @berkgeveci