netcdf-c/examples/C
Dennis Heimbigner 126b3f9423 Support installation of filters into user-specified location
re: https://github.com/Unidata/netcdf-c/issues/2294

Ed Hartnett suggested that the netcdf library installation process
be extended to install the standard filters into a user specified
location. The user can then set HDF5_PLUGIN_PATH to that location.

This PR provides that capability using:
````
configure option: --with-plugin-dir=<absolute directory path>
cmake option: -DPLUGIN_INSTALL_DIR=<absolute directory path>
````

Currently, the following plugins are always installed, if
available: bzip2, zstd, blosc.
If NCZarr is enabled, then additional plugins are installed:
fletcher32, shuffle, deflate, szip.

Additionally, the necessary codec support is installed
for each of the above filters that is installed.

## Changes:
1. Cleanup handling of built-in bzip2.
2. Add documentation to docs/filters.md
3. Re-factor the NCZarr codec libraries
4. Add a test, although it can only be exercised after
   the library is installed, so it cannot be used during
   normal testing.
5. Cleanup use of HDF5_PLUGIN_PATH in the filter test cases.
2022-04-29 14:31:55 -06:00
..
CMakeLists.txt turing on programs in examples/C 2019-05-12 09:12:42 -06:00
file.c Spelling fixes 2019-09-18 08:03:01 -06:00
filter_example.c Remove need for HDF5-1.6 API being defined 2021-04-28 13:59:24 -06:00
format.c turing on programs in examples/C 2019-05-12 09:12:42 -06:00
large_files.c Updating files to refer to the top-level COPYRIGHT file. 2018-12-04 15:52:43 -07:00
Makefile.am Support installation of filters into user-specified location 2022-04-29 14:31:55 -06:00
met4D.c Updating files to refer to the top-level COPYRIGHT file. 2018-12-04 15:52:43 -07:00
parallel_vara.c change to trigger CI 2019-01-14 13:26:52 -07:00
pres_temp_4D_rd.c Docs migration 2021-11-11 10:47:49 -07:00
pres_temp_4D_wr.c example documentation cleanup 2019-03-12 10:22:44 -06:00
quick_large_files.c fixed warning in quick_large_files.c 2019-07-02 08:25:44 -06:00
quick_small_files.c fixed quick_small_files.c 2019-07-02 08:53:26 -06:00
run_examples4.sh Updating files to refer to the top-level COPYRIGHT file. 2018-12-04 15:52:43 -07:00
run_examples.sh Updating files to refer to the top-level COPYRIGHT file. 2018-12-04 15:52:43 -07:00
run_filter.sh Support installation of filters into user-specified location 2022-04-29 14:31:55 -06:00
run_par_test.sh.in Spelling fixes 2019-09-18 08:03:01 -06:00
sfc_pres_temp_more.c comment 2019-07-04 13:47:14 -06:00
sfc_pres_temp_rd.c example documentation cleanup 2019-03-12 10:21:36 -06:00
sfc_pres_temp_wr.c example documentation cleanup 2019-03-12 10:22:44 -06:00
simple_nc4_rd.c Docs migration 2021-11-11 10:47:49 -07:00
simple_nc4_wr.c Docs migration 2021-11-11 10:47:49 -07:00
simple_xy_nc4_rd.c docs migration, part 2 2021-11-11 10:55:52 -07:00
simple_xy_nc4_wr.c docs migration, part 2 2021-11-11 10:55:52 -07:00
simple_xy_rd.c docs migration, part 2 2021-11-11 10:55:52 -07:00
simple_xy_wr.c Updating files to refer to the top-level COPYRIGHT file. 2018-12-04 15:52:43 -07:00
simple.c cleanup of simple.c 2019-07-02 08:59:27 -06:00