netcdf-c/include
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
..
.gitignore
ceconstraints.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
CMakeLists.txt Bad file reference 2021-07-17 20:32:43 -06:00
err_macros.h cleanup of whitespace in include directory 2019-02-19 06:09:10 -07:00
fbits.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
hdf4dispatch.h raised NC_MAX_HDF4_NAME length to NC_MAX_NAME 2020-02-08 09:21:01 -07:00
hdf5dispatch.h 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
hdf5internal.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
isnan.h Removed unneeded code on OSX. 2020-08-26 16:29:51 -06:00
Makefile.am Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nc3dispatch.h final removal 2019-08-15 07:05:10 -06:00
nc3internal.h removed rest of LOCKNUMREC and _CRAYMPP obsolete macros 2019-08-14 06:53:33 -06:00
nc4dispatch.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nc4internal.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nc_hashmap.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nc_logging.h Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
nc_provenance.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
nc_tests.h moved nc_def_var_szip prototype to netcdf_filter.h 2020-01-06 16:54:54 -07:00
nc.h Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
ncauth.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
ncbytes.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ncconfigure.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nccrc.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
ncdap.h Make fillmismatch the default for DAP2 and DAP4 2021-01-07 13:17:53 -07:00
ncdimscale.h Updated to use H5O_info2_t for HDF5 1.12 and the use of H5Oget_info3 instead of H5Gget_objinfo 2020-03-12 15:50:24 +00:00
ncdispatch.h Unify definition of NC_DISPATCH_VERSION 2021-01-31 21:40:08 -07:00
ncexhash.h ncexhash: replace invalid UTF-8 sequence 2021-07-28 12:51:30 -04:00
ncexternl.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncfilter.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nchashmap.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
nchttp.h Move to Version 2 NCZarr Extended Meta-Data 2021-07-17 16:55:30 -06:00
ncindex.h missinginclude 2020-07-09 13:30:33 -06:00
ncjson.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nclist.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
nclog.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
ncmodel.h Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
ncoffsets.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncpathmgr.h Support Windows network paths: \\svc\x\y... 2021-08-09 15:34:23 -06:00
ncrc.h Upgrade the nczarr code to match Zarr V2 2021-04-24 19:48:15 -06:00
nctestserver.h Add support for CURLOPT_CONNECTTIMEOUT 2020-01-09 11:48:04 -07:00
nctime.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncuri.h Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
ncurlmodel.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ncutf8.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncxcache.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
netcdf_aux.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_dispatch.h.in Unify definition of NC_DISPATCH_VERSION 2021-01-31 21:40:08 -07:00
netcdf_f.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
netcdf_filter_build.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_filter_hdf5_build.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_filter.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_json.h Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
netcdf_mem.h cleanup netcdf_mem.h and netcdf_dispatch.h 2019-10-28 10:56:24 -06:00
netcdf_meta.h.in added info about logging to build summary, fixed info about byterange in build summary 2021-08-24 00:17:03 -06:00
netcdf_par.h fixed include issue 2019-12-20 07:43:39 -07:00
netcdf.h Merge branch 'virtual_datasets' of https://github.com/d70-t/netcdf-c into gh1983.wif 2021-07-19 09:44:35 -07:00
onstack.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
rnd.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
XGetopt.h Fix undefined references when using Visual Studio 2020-05-18 19:36:28 -06:00