netcdf-c/ncgen3
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
..
bigf1.cdl
bigf2.cdl
bigf3.cdl
bigr1.cdl
bigr2.cdl
bigr3.cdl
c0.cdl merge-squash 2015-08-15 16:26:35 -06:00
CMakeLists.txt 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
depend
escapes.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
generic.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
genlib.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
genlib.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
getfill.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
init.c ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
lfs-tests Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
load.c Regularize the semantics of mkstemp. 2021-05-14 11:33:03 -06:00
main_cpp.cpp This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
main.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
Makefile.am Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
ncgen3.1 hyphens used as minus signs 2015-01-16 13:12:11 +01:00
ncgen.h ncgen3 copyright stanzas updated. 2018-12-06 15:42:41 -07:00
ncgen.l Update parser/lexer build process for ncgen3 2020-07-29 16:13:17 -06:00
ncgen.y Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
ncgenl.c CMake fixes 2020-07-29 17:59:19 -06:00
ncgeny.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
ncgeny.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
run_nc4_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
run_tests2.sh Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
run_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00