netcdf-c/libsrc
Dennis Heimbigner 8072d1f6bb Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch
re: issue https://github.com/Unidata/netcdf-c/issues/1151

Modify DAP2 and DAP4 code to handle case when _FillValue type is not
same as the parent variable type.

Specifically:
1. Define a parameter [fillmismatch] to allow this mismatch;
   default is to disallow.
2. If allowed, forcibly change the type of the _FillValue to match
   the parent variable.
3. If allowed Convert the values to match new type
4. Generate a log message
5. if not allowed, then fail

Implementing this required some changes to ncdap_test/dapcvt.c
Also added test cases.

Minor Unrelated Changes:
1. There were a number of warnings about e.g.
   assigning a const char* to a char*. Fix these
2. In nccopy.1, replace .NP with .IP "n"
   (re PR https://github.com/Unidata/netcdf-c/pull/1144)
3. fix minor error in ncdump/ocprint
2018-10-01 15:51:43 -06:00
..
attr.m4 This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
CMakeLists.txt Merge branch 'master' into inmem2.dmh 2018-05-16 14:24:19 -06:00
depend
dim.c This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
ffio.c Merged master, DAP4 support into branch. 2017-04-19 09:29:35 -06:00
lookup3.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
Makefile.am Fix https://github.com/Unidata/netcdf-c/issues/963 2018-05-11 15:30:19 -06:00
memio.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
mmapio.c This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
nc3dispatch.c a clean commit for #383 2017-12-20 20:53:30 -06:00
nc3internal.c Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
ncFile.c
ncio.c Fix https://github.com/Unidata/netcdf-c/issues/963 2018-05-11 15:30:19 -06:00
ncio.h
ncstdio.c
ncstdio.h Fix https://github.com/Unidata/netcdf-c/issues/963 2018-05-11 15:30:19 -06:00
ncx_cray.c include config.h the way suggested by autoconf 2017-03-11 13:03:17 -06:00
ncx.h Fix build on pre-C99 compilers 2017-11-26 01:47:54 +05:30
ncx.m4 ncx: use __inline with MSVC 2018-02-19 10:14:29 -05:00
posixio.c Follow-up trivial typos 2018-04-26 23:04:01 -04:00
pstdint.h
putget.m4 Promote NC_var member len from size_t to long long to fix some problems of large-variable tests on 320bit platforms. 2018-06-15 15:08:05 -05:00
t_ncio.c Merged master, DAP4 support into branch. 2017-04-19 09:29:35 -06:00
t_ncio.in
t_ncxx.m4 include config.h the way suggested by autoconf 2017-03-11 13:03:17 -06:00
test_nc.sav
v1hpg.c Promote NC_var member len from size_t to long long to fix some problems of large-variable tests on 320bit platforms. 2018-06-15 15:08:05 -05:00
var.c another typecast missed 2018-06-17 13:16:09 -05:00
winceio.c Merged master, DAP4 support into branch. 2017-04-19 09:29:35 -06:00
XGetopt.c