netcdf-c/libdispatch
Dennis Heimbigner 9b7202bf06 Explicitly disallow variable length type compression
re: https://github.com/Unidata/netcdf-c/issues/2189

Compression of a variable whose type is variable length
fails for all current filters. This is because at some point,
the compression buffer will contain pointers to data instead
of the actual data. Compression of pointers of course is meaningless.

The PR changes the behavior of nc_def_var_filter so that it will
fail with error NC_EFILTER if an attempt is made to add a filter
to a variable whose type is variable-length.

A variable is variable-length if it is of type string or VLEN
or transitively (via a compound type) contains a string or VLEN.

Also added a test case for this.

## Misc Changes
1. Turn off a number of debugging statements
2022-02-19 16:47:31 -07:00
..
awsincludes.h Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
CMakeLists.txt Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
datt.c
dattget.c
dattinq.c
dattput.c
dauth.c Fix new lgtm alerts 2021-09-28 14:19:07 -06:00
daux.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
dcompound.c
dcopy.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
dcrc32.c
dcrc32.h
dcrc64.c
ddim.c
ddispatch.c Allow optional use of libxml2 2021-11-01 22:37:05 -06:00
defcheck.c
denum.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
derror.c
dfile.c Missing symbol in MSYS2/MinGW compilation. 2022-01-24 13:35:04 -07:00
dfilter.c Explicitly disallow variable length type compression 2022-02-19 16:47:31 -07:00
dfilterx.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
dgroup.c
dhttp.c Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
dinfermodel.c Fix conflicts with main 2022-01-28 13:12:03 -07:00
dinstance.c 1. Fix an additional flaw in fill_value handling where non-atomic default values were not properly being handled. 2022-01-10 15:27:16 -07:00
dinternal.c
dnotnc3.c
dnotnc4.c adding quantize functions to all the dispatch tables 2021-08-24 01:26:44 -06:00
doffsets.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
dopaque.c
dparallel.c
dpathmgr.c Explicitly disallow variable length type compression 2022-02-19 16:47:31 -07:00
drc.c Dangling undefined references to nulldup. These should be unified in a header, but that is a separate issue to open/resolve. For now, resolving these as part of getting mingw/msys2-based github actions working. 2022-01-24 13:48:41 -07:00
dreadonly.c
dreg.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
ds3util.c Fix conflicts with main 2022-01-28 13:12:03 -07:00
dstring.c
dtype.c
durlmodel.c
dutf8.c
dutil.c Dangling undefined references to nulldup. These should be unified in a header, but that is a separate issue to open/resolve. For now, resolving these as part of getting mingw/msys2-based github actions working. 2022-01-24 13:48:41 -07:00
dv2i.c
dvar.c Rename GranularBitGroom to GranularBitRound 2022-01-28 13:04:16 -07:00
dvarget.c
dvarinq.c First draft of Granular BitGroom feature for netcdf-c 2021-10-20 16:00:32 -07:00
dvarput.c
dvlen.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
ezxml_extra.c Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
json.c
Makefile.am Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
nc.c Dangling undefined references to nulldup. These should be unified in a header, but that is a separate issue to open/resolve. For now, resolving these as part of getting mingw/msys2-based github actions working. 2022-01-24 13:48:41 -07:00
ncbytes.c Addressed an issue in ncbytes where long unsigned ~= size_t 2021-11-04 10:10:28 -06:00
ncexhash.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
nchashmap.c Avoid infinite loop for finding large prime values 2021-10-14 15:55:04 -06:00
ncjson.c Fix NCJTHROW definition after merge from main 2021-10-03 11:27:42 +11:00
nclist.c Merge branch 'main' into mingw-w64-strcasecmp 2022-01-11 10:45:15 +11:00
nclistmgr.c
nclog.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
ncs3sdk.cpp Explicitly disallow variable length type compression 2022-02-19 16:47:31 -07:00
ncsettings.hdr
nctime.c
ncuri.c Add complete bitgroom support to NCZarr 2022-01-24 15:22:24 -07:00
ncxcache.c
netcdf.m4
stubdef.c
u8.c
u8.h
utf8proc_data.c
utf8proc.c
utf8proc.h