From cd607d091a6a56450eb90da5c6b1a3a5ab456298 Mon Sep 17 00:00:00 2001 From: "Mark C. Miller" Date: Sat, 23 Nov 2024 00:07:46 -0800 Subject: [PATCH] fix filter ids --- src/hdf5_drv/silo_hdf5.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/hdf5_drv/silo_hdf5.c b/src/hdf5_drv/silo_hdf5.c index 244461ad..824cae82 100644 --- a/src/hdf5_drv/silo_hdf5.c +++ b/src/hdf5_drv/silo_hdf5.c @@ -183,9 +183,13 @@ be used for advertising or product endorsement purposes. */ -/* For Lindstrom compression libs */ -#define DB_HDF5_HZIP_ID (H5Z_FILTER_RESERVED+1) -#define DB_HDF5_FPZIP_ID (H5Z_FILTER_RESERVED+2) +/* For Lindstrom compression libs, hzip and fpzip. + These IDS were reserved by The HDF Group 11/22/2024. + Previously they had been computed offsets from H5Z_FILTER_RESERVED. + fpzip also has a reserved ID of 32014 for an implementation from NCAR, + https://github.com/NCAR/fpzip_plugin */ +#define DB_HDF5_HZIP_ID 257 +#define DB_HDF5_FPZIP_ID 258 #ifdef HAVE_HZIP #include "hzip.h" #ifdef HAVE_LIBZ