Skip to content

Commit a3988e8

Browse files
authored
Merge pull request silx-kit#352 from t20100/sz-deprecated
Marked SZ filter as deprecated
2 parents ed1ddf2 + 24d0a33 commit a3988e8

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/information.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ HDF5 compression filters and compression libraries sources were obtained from:
7474
* `FCIDECOMP plugin <https://gitlab.eumetsat.int/open-source/data-tailor-plugins/fcidecomp>`_
7575
(`v2.1.1 <https://gitlab.eumetsat.int/open-source/data-tailor-plugins/fcidecomp/-/tree/2.1.1>`_)
7676
using `CharLS <https://github.com/team-charls/charls>`_ (v2.1.0).
77-
* `SZ plugin <https://github.com/szcompressor/SZ>`_
78-
(commit `f466775 <https://github.com/szcompressor/SZ/tree/f4667759ead6a902110e80ff838ccdfddbc8dcd7>`_)
79-
using `SZ <https://github.com/szcompressor/SZ>`_, ZLib and ZStd.
77+
* `SZ plugin <https://github.com/szcompressor/SZ2>`_
78+
(commit `f466775 <https://github.com/szcompressor/SZ2/tree/f4667759ead6a902110e80ff838ccdfddbc8dcd7>`_)
79+
using `SZ <https://github.com/szcompressor/SZ2>`_, ZLib and ZStd.
8080
* `H5Z-SPERR plugin <https://github.com/NCAR/H5Z-SPERR>`_ (v0.2.3) using `SPERR <https://github.com/NCAR/SPERR>`_ (v0.8.2).
8181
* `SZ3 plugin <https://github.com/szcompressor/SZ3>`_
8282
(commit `4bbe9df7e4bcb <https://github.com/szcompressor/SZ3/commit/4bbe9df7e4bcb6ae6339fcb3033100da07fe7434>`_)
@@ -88,9 +88,10 @@ HDF5 compression filters and compression libraries sources were obtained from:
8888

8989
Sources of compression libraries shared accross multiple filters were obtained from:
9090

91+
9192
* `LZ4 v1.10.0 <https://github.com/Blosc/c-blosc2/tree/v2.21.2/internal-complibs/lz4-1.10.0>`_
9293
* `Snappy v1.2.2 <https://github.com/google/snappy>`_
93-
* `ZStd v1.5.6 <https://github.com/Blosc/c-blosc2/tree/v2.21.2/internal-complibs/zstd-1.5.7>`_
94+
* `ZStd v1.5.7 <https://github.com/Blosc/c-blosc2/tree/v2.21.2/internal-complibs/zstd-1.5.7>`_
9495
* `ZLib v1.3.1 <https://github.com/Blosc/c-blosc/tree/v1.21.6/internal-complibs/zlib-1.3.1>`_
9596

9697
When compiled with Intel IPP, the LZ4 compression library is replaced with `LZ4 v1.9.3 <https://github.com/lz4/lz4/releases/tag/v1.9.3>`_ patched with a patch from Intel IPP 2021.7.0.

src/hdf5plugin/_filters.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def __pack_options(
610610

611611

612612
class SZ(h5py.filters.FilterRefBase):
613-
"""``h5py.Group.create_dataset``'s compression arguments for using SZ filter.
613+
"""``h5py.Group.create_dataset``'s compression arguments for using SZ2 filter.
614614
615615
.. code-block:: python
616616
@@ -654,7 +654,9 @@ class SZ(h5py.filters.FilterRefBase):
654654
data=numpy.random.random(100),
655655
compression=hdf5plugin.SZ(pointwise_relative=0.01))
656656
657-
For more details about the compressor, see `SZ compressor <https://github.com/szcompressor/SZ>`_.
657+
For more details about the compressor, see `SZ2 compressor <https://github.com/szcompressor/SZ2>`_.
658+
659+
.. warning:: The SZ2 compressor is deprecated, see `SZ <https://github.com/szcompressor/SZ?tab=readme-ov-file#deprecatedlegacy-version-sz2>`_
658660
"""
659661

660662
filter_name = "sz"

0 commit comments

Comments
 (0)