netcdf-c/ncdap_test
Dennis Heimbigner 11fe00ea05 Add filter support to NCZarr
Filter support has three goals:

1. Use the existing HDF5 filter implementations,
2. Allow filter metadata to be stored in the NumCodecs metadata format used by Zarr,
3. Allow filters to be used even when HDF5 is disabled

Detailed usage directions are define in docs/filters.md.

For now, the existing filter API is left in place. So filters
are defined using ''nc_def_var_filter'' using the HDF5 style
where the id and parameters are unsigned integers.

This is a big change since filters affect many parts of the code.

In the following, the terms "compressor" and "filter" and "codec" are generally
used synonomously.

### Filter-Related Changes:
* In order to support dynamic loading of shared filter libraries, a new library was added in the libncpoco directory; it helps to isolate dynamic loading across multiple platforms.
* Provide a json parsing library for use by plugins; this is created by merging libdispatch/ncjson.c with include/ncjson.h.
* Add a new _Codecs attribute to allow clients to see what codecs are being used; let ncdump -s print it out.
* Provide special headers to help support compilation of HDF5 filters when HDF5 is not enabled: netcdf_filter_hdf5_build.h and netcdf_filter_build.h.
* Add a number of new test to test the new nczarr filters.
* Let ncgen parse _Codecs attribute, although it is ignored.

### Plugin directory changes:
* Add support for the Blosc compressor; this is essential because it is the most common compressor used in Zarr datasets. This also necessitated adding a CMake FindBlosc.cmake file
* Add NCZarr support for the big-four filters provided by HDF5: shuffle, fletcher32, deflate (zlib), and szip
* Add a Codec defaulter (see docs/filters.md) for the big four filters.
* Make plugins work with windows by properly adding __declspec declaration.

### Misc. Non-Filter Changes
* Replace most uses of USE_NETCDF4 (deprecated) with USE_HDF5.
* Improve support for caching
* More fixes for path conversion code
* Fix misc. memory leaks
* Add new utility -- ncdump/ncpathcvt -- that does more or less the same thing as cygpath.
* Add a number of new test to test the non-filter fixes.
* Update the parsers
* Convert most instances of '#ifdef _MSC_VER' to '#ifdef _WIN32'
2021-09-02 17:04:26 -06:00
..
expected3 Spelling fixes 2019-09-18 08:03:01 -06:00
expectremote3 Spelling fixes 2019-09-18 08:03:01 -06:00
expecttds3 ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
nocacheremote3 ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
special3 Spelling fixes 2019-09-18 08:03:01 -06:00
testdata3 Spelling fixes 2019-09-18 08:03:01 -06:00
CMakeLists.txt Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
findtestserver.c.in Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
Makefile.am Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
manyurls.h Adding missing file ncdap_test/manyurls.h 2021-08-24 12:27:54 -06:00
pingurl.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
run_ncdap_tests.sh
t_auth.c ckp 2021-04-06 21:43:42 -06:00
t_dap3a.c Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
t_dap3b.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_dap3c.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_dap.c Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
t_misc.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
t_ncf330.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_srcdir.h ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
test_cvt.c Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
test_environment.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
test_manyurls.c Added missing file. 2021-06-01 15:05:42 -06:00
test_nstride_cached.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_partvar2.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_partvar.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_vara.c Reverted changes to C files. Can't change them as that messes with the 2019-11-07 15:46:50 -07:00
test_varm3.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
testauth.old
testauth.sh Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
testauth.sh.old
testbasicauth.sh ckp 2017-07-21 13:54:09 -06:00
testcontainerauth.sh ckp 2017-07-21 13:54:09 -06:00
testurl.sh charvlen 2021-05-28 21:53:12 -06:00
tst_ber.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_curlopt.sh Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
tst_encode.sh Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
tst_filelists.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
tst_fillmismatch.sh fix test cases 2021-01-07 19:37:03 -07:00
tst_formatx.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_longremote3.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
tst_ncdap3.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_ncdap_shared.sh turn of extra debug 2017-07-15 20:21:24 -06:00
tst_ncdap.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_nocache3.sh
tst_remote3.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_remote.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_special.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_tds.sh Attempt at test orchestration to avoid a race condition when running tests in parallel. 2021-08-25 13:33:49 -06:00
tst_urls.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_utils.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_zero_len_var.sh Fix windows \r problem 2020-05-30 20:14:45 -06:00