netcdf-c/libsrc4
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
..
CMakeLists.txt starting to make logging output files for each process for parallel IO builds 2022-02-04 10:35:15 -07:00
Makefile.am starting to make logging output files for each process for parallel IO builds 2022-02-04 10:35:15 -07:00
nc4attr.c Fix various problem around VLEN's 2022-01-08 18:30:00 -07:00
nc4cache.c Add support for setting HDF5 alignment property when creating a file 2022-01-29 15:27:52 -07:00
nc4dim.c Regularize the scoping of dimensions 2021-05-31 15:51:12 -06:00
nc4dispatch.c Add support for multiple filters per variable. 2020-02-16 12:59:33 -07:00
nc4filters.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nc4grp.c Regularize the scoping of dimensions 2021-05-31 15:51:12 -06:00
nc4internal.c Make public a limited API for programmatic access to internal .rc tables 2022-06-17 14:35:12 -06:00
nc4type.c Provide a default enum const when fill value does not match any enum const. 2022-07-17 14:32:31 -06:00
nc4var.c Merge branch 'csz_bitround' of https://github.com/nco/netcdf-c into gh2232.wif 2022-04-01 10:43:34 -06:00
ncfunc.c Spelling fixes 2019-09-18 08:03:01 -06:00
ncindex.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00