netcdf-c/libdispatch
Dennis Heimbigner 65fd9fe1a5 Provide a default enum const when fill value does not match any enum const.
re: https://github.com/Unidata/netcdf-c/issues/982

It is possible to define an enum type that has no enum constant
with value zero. However, HDF5 has a default fill value of zero
that it used to fill all chunks. In the event that this situation
occurs, ncdump, say, will fail because there is no enum const
to print for the value zero.

The solution is to create a special enum constant called "_UNDEFINED"
that has the value zero. It is only used in the case that there is
no constant in the enum that already covers zero.

A test case is added in netcdf-c/ncdump to validate this solution.

Note: the changes occur primarily in libsrc4, so they also work for NCZarr.
2022-07-17 14:32:31 -06:00
..
awsincludes.h Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
CMakeLists.txt fixed parallel functions for netcdf-fortran build 2022-04-24 05:46:55 -06:00
datt.c
dattget.c fixed more doxygen warnings 2022-05-29 08:43:56 +03:00
dattinq.c more doxygen warning fixes 2022-05-03 12:54:14 -06:00
dattput.c
dauth.c Merge pull request #2039 from mathstuf/various-fixes 2022-03-10 14:52:30 -07:00
daux.c Merge pull request #2050 from e4t/strict-aliasing 2022-03-10 15:22:58 -07:00
dcompound.c
dcopy.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
dcrc32.c Improve UTF8 Support On Windows 2022-02-08 20:53:30 -07:00
dcrc32.h
dcrc64.c
ddim.c
ddispatch.c Use env variable USERPROFILE instead of HOME for windows and mingw. 2022-06-21 14:09:10 -06:00
defcheck.c
denum.c Support MSYS2/Mingw platform 2021-12-23 22:18:56 -07:00
derror.c Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
dfile.c Missing symbol in MSYS2/MinGW compilation. 2022-01-24 13:35:04 -07:00
dfilter.c doxygen for filter functions 2022-05-04 08:04:54 -06:00
dfilterx.c Add filter support to NCZarr 2021-09-02 17:04:26 -06:00
dgroup.c
dhttp.c Provide a default enum const when fill value does not match any enum const. 2022-07-17 14:32:31 -06:00
dinfermodel.c Merge branch 'main' into alwaysxarray.dmh 2022-05-17 13:23:19 -06:00
dinstance.c Improve UTF8 Support On Windows 2022-02-08 20:53:30 -07:00
dinternal.c
dnotnc3.c
dnotnc4.c Enhance/Fix filter support 2022-03-14 12:39:37 -06:00
doffsets.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
dopaque.c
dparallel.c
dpathmgr.c Merge branch 'winutf8.dmh' of https://github.com/DennisHeimbigner/netcdf-c into gh2222.wif 2022-04-05 10:46:22 -06:00
drc.c Provide a default enum const when fill value does not match any enum const. 2022-07-17 14:32:31 -06:00
dreadonly.c
dreg.c Guard _declspec(dllexport) in support of https://github.com/Unidata/netcdf-c/issues/2446 2022-07-11 14:09:57 -06: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 use malloc to increase read chunk size from 1 KB to 4 MB 2022-06-18 13:06:37 -05:00
dv2i.c
dvar.c more detail on which algorithm to choose 2022-05-31 09:09:25 +03: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 fixed parallel functions for netcdf-fortran build 2022-04-24 05:41:14 -06: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 change to trigger CI 2022-04-27 09:52:00 -06:00
ncjson.c Allow the read/write of JSON-valued Zarr attributes. 2022-04-06 18:22:59 -06: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 Merge pull request #2039 from mathstuf/various-fixes 2022-03-10 14:52:30 -07:00
ncxcache.c Move to Version 2 NCZarr Extended Meta-Data 2021-07-17 16:55:30 -06:00
netcdf.m4
stubdef.c
u8.c
u8.h
utf8proc_data.c
utf8proc.c
utf8proc.h