Skip to content

Commit

Permalink
Filter plugins updates for registration URL (#4180)
Browse files Browse the repository at this point in the history
* Update filter plugin URL to new location

* Adjust test array size
  • Loading branch information
byrnHDF authored Mar 19, 2024
1 parent 4af02c2 commit 8f3e544
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 34 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ jobs:
- name: Create description file
run: |
cat ${{ github.workspace }}/NEWSLETTER.txt > description.txt
echo "SHA256 sums:" >> description.txt
cat sha256sums.txt >> description.txt
- name: PreRelease tag
id: create_prerelease
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_blosc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 7; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_bshuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 3; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_bzip2.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 1; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_jpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[3] = {NUM_IMAGES, DIM0, DIM1}, chunk[3] = {CHUNK0, CHUNK1, CHUNK2};
size_t nelmts = 4; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_lz4.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 1; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_lzf.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 3; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_mafisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 8; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_zfp.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[2] = {DIM0, DIM1}, chunk[2] = {CHUNK0, CHUNK1};
size_t nelmts = 3; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/h5ex_d_zstd.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ main(void)
herr_t status;
htri_t avail;
H5Z_filter_t filter_id = 0;
char filter_name[80];
char filter_name[128];
hsize_t dims[3] = {NUM_IMAGES, DIM0, DIM1}, chunk[3] = {CHUNK0, CHUNK1, CHUNK2};
size_t nelmts = 1; /* number of elements in cd_values */
unsigned int flags;
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_blosc.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 32001
COMMENT HDF5 blosc filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 blosc filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 2 2 4 128 4 1 2 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_blosc.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ blosc filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 32001
Number of parameters is 7 with the value 4 1 2
To find more about the filter check HDF5 blosc filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 blosc filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading blosc compressed data ................
Maximum value in DS1 is 1890
blosc filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_bzip2.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 307
COMMENT HDF5 bzip2 filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 bzip2 filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 2 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_bzip2.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2 filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 307
Number of parameters is 1 with the value 2
To find more about the filter check HDF5 bzip2 filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 bzip2 filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading bzip2 compressed data ................
Maximum value in DS1 is 1890
bzip2 filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_jpeg.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 32019
COMMENT HDF5 jpeg filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 jpeg filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 100 1024 512 0 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_jpeg.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jpeg filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 32019
Number of parameters is 4 with the value 100
To find more about the filter check HDF5 jpeg filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 jpeg filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading jpeg compressed data ................
JPEG quality=100, percent of differing array elements=0.000000
jpeg filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_lz4.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 32004
COMMENT HDF5 lz4 filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 lz4 filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 3 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_lz4.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lz4 filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 32004
Number of parameters is 1 with the value 3
To find more about the filter check HDF5 lz4 filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 lz4 filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading lz4 compressed data ................
Maximum value in DS1 is 1890
lz4 filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_lzf.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 32000
COMMENT HDF5 lzf filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 lzf filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 4 261 128 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_lzf.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lzf filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 32000
Number of parameters is 3 with the value 4
To find more about the filter check HDF5 lzf filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 lzf filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading lzf compressed data ................
Maximum value in DS1 is 1890
lzf filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_zstd.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GROUP "/" {
FILTERS {
USER_DEFINED_FILTER {
FILTER_ID 32015
COMMENT HDF5 zstd filter; see http://www.hdfgroup.org/services/contributions.html
COMMENT HDF5 zstd filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
PARAMS { 0 }
}
}
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5FLT/tfiles/h5ex_d_zstd.tst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ zstd filter is available for encoding and decoding.
Filter info is available from the dataset creation property
Filter identifier is 32015
Number of parameters is 1 with the value 0
To find more about the filter check HDF5 zstd filter; see http://www.hdfgroup.org/services/contributions.html
To find more about the filter check HDF5 zstd filter; see https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
....Reading zstd compressed data ................
ZSTD number of differing array elements=0
zstd filter is available now since H5Dread triggered loading of the filter.
2 changes: 1 addition & 1 deletion doc/parallel-compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ chosen chunk size becomes a very important factor when compression
is involved, as data chunks have to be completely read and
re-written to perform partial writes to the chunk.

[Improving I/O performance with HDF5 compressed datasets](http://portal.hdfgroup.org/display/HDF5/Improving+IO+Performance+When+Working+with+HDF5+Compressed+Datasets)
[Improving I/O performance with HDF5 compressed datasets](https://portal.hdfgroup.org/display/HDF5/Improving+IO+Performance+When+Working+with+HDF5+Compressed+Datasets)
is a useful reference for more information on getting good
performance when using a chunked dataset layout.

Expand Down
4 changes: 2 additions & 2 deletions doxygen/examples/H5.format.1.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -5436,8 +5436,8 @@ <h4><a name="FilterMessage">Name: Data Storage - Filter Pipeline</a></h4>
filters requested and supported by third parties.
Filters supported by The HDF Group are documented immediately
below. Information on 3rd-party filters can be found at
<a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">
<code>https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html</code></a>.
<a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">
<code>https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md</code></a>.
<a href="#Footnote1Change"><sup><small>1</small></sup></a>
<p>
To request a filter identifier, please contact
Expand Down
4 changes: 2 additions & 2 deletions doxygen/examples/H5.format.2.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -12598,7 +12598,7 @@ <h4>
HDF5 Library and for filters requested and supported by third
parties. Filters supported by The HDF Group are documented
immediately below. Information on 3rd-party filters can be found at
The HDF Group&rsquo;s <a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">
The HDF Group&rsquo;s <a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">
Registered Filters</a> page.
</p>

Expand Down Expand Up @@ -12853,7 +12853,7 @@ <h4>
HDF5 Library and for filters requested and supported by third
parties. Filters supported by The HDF Group are documented
immediately below. Information on 3rd-party filters can be found at
The HDF Group&rsquo;s <a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">
The HDF Group&rsquo;s <a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">
Registered Filters</a> page.
</p>

Expand Down
4 changes: 2 additions & 2 deletions doxygen/examples/H5.format.html
Original file line number Diff line number Diff line change
Expand Up @@ -14226,7 +14226,7 @@ <h4><a name="FilterMessage">IV.A.2.l. The Data Storage - Filter
Filters supported by The HDF Group are documented immediately
below. Information on 3rd-party filters can be found at
The HDF Group&rsquo;s
<a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">
<a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">
Registered Filters</a> page.</p>

<p>
Expand Down Expand Up @@ -14488,7 +14488,7 @@ <h4><a name="FilterMessage">IV.A.2.l. The Data Storage - Filter
Filters supported by The HDF Group are documented immediately
below. Information on 3rd-party filters can be found at
The HDF Group&rsquo;s
<a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">
<a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">
Registered Filters</a> page.</p>

<p>
Expand Down
10 changes: 6 additions & 4 deletions src/H5PLmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* function, as a user would do in the past. The identification number and the filter parameters should be
* available to the application. For example, if the application intends to apply the HDF5 bzip2 compression
* filter that was registered with The HDF Group and has an identification number 307
* (<a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">Registered
* (<a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">Registered
* Filters</a>) then the application would follow the steps as outlined below: \code dcpl = H5Pcreate
* (H5P_DATASET_CREATE); status = H5Pset_filter (dcpl, (H5Z_filter_t)307, H5Z_FLAG_MANDATORY, (size_t)6,
* cd_values); dset = H5Dcreate (file, DATASET, H5T_STD_I32LE, space, H5P_DEFAULT, dcpl, status = H5Dwrite
Expand All @@ -73,7 +73,8 @@
* FILTERS {
* USER_DEFINED_FILTER {
* FILTER_ID 307
* COMMENT HDF5 bzip2 filter; see http://www.hdfgroup.org/services/contributions.html
* COMMENT HDF5 bzip2 filter; see
* https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md
* PARAMS { 2 }
* }
* }
Expand Down Expand Up @@ -182,7 +183,7 @@
* \subsubsection subsubsec_filter_plugins_prog_reg Registering a Filter with The HDF Group
* If you are writing a filter that will be used by others, it would be a good idea to request a filter
* identification number and register it with The HDF Group. Please follow the procedure described at
* <a href="https://portal.hdfgroup.org/documentation/hdf5-docs/registered_filter_plugins.html">Registered
* <a href="https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md">Registered
* Filters</a>.
*
* The HDF Group anticipates that developers of HDF5 filter plugins will not only register new filters, but
Expand All @@ -196,7 +197,8 @@
* (H5Z_filter_t)H5Z_FILTER_BZIP2, // Filter id number
* 1, // encoder_present flag (set to true)
* 1, // decoder_present flag (set to true)
* "HDF5 bzip2 filter; see http://www.hdfgroup.org/services/contributions.html",
* "HDF5 bzip2 filter; see
* https://github.com/HDFGroup/hdf5_plugins/blob/master/docs/RegisteredFilterPlugins.md",
* // Filter name for debugging
* NULL, // The "can apply" callback
* NULL, // The "set local" callback
Expand Down

0 comments on commit 8f3e544

Please sign in to comment.