netcdf-c/oc2
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
..
auth.html.in Misc. source comment typos 2018-04-26 23:04:01 -04:00
CMakeLists.txt Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
dap.y Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
daplex.c Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapparse.c Clear up coverity complaints 2018-08-04 13:22:29 -06:00
dapparselex.h Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
dapy.c Fix for github issue https://github.com/Unidata/netcdf-c/issues/310. 2017-06-28 13:51:01 -06:00
dapy.h Fix for Github issue 314. 2016-09-01 22:06:07 -06:00
dodsrc.example move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
Make0 Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
Makefile.am Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
oc.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
oc.css Github issue 152: https://github.com/Unidata/netcdf-c/issues/152 2015-11-29 20:38:12 -07:00
oc.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
occompile.c upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
occompile.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
occonstraints.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
occurlflags.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
occurlfunctions.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
occurlfunctions.h Merge master and resolve conflicts 2017-10-28 13:57:23 -06:00
ocdata.c upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
ocdata.h 1. synch with oc lib 2015-03-02 20:26:39 -07:00
ocdatatypes.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
ocdebug.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ocdebug.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
ocdump.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
ocdump.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ochttp.c Fix the NC_INMEMORY code to work in all cases with HDF5 1.10. 2018-09-04 11:27:47 -06:00
ochttp.h Initial version 2017-08-31 14:19:56 -06:00
ocinternal.c Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
ocinternal.h Add the ability to set some additional curlopt values 2018-08-26 17:04:46 -06:00
ocnode.c applied gsjaardema's suggested change to ocnode.c 2017-11-30 09:22:14 -07:00
ocnode.h upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
ocread.c fixed easy warnings 2017-11-20 05:55:04 -07:00
ocread.h move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
ocutil.c This pr should probably be delayed until after Version 4.5. 2017-09-02 18:09:36 -06:00
ocutil.h Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ocx.h Made some changes to export symbols on Windows builds. 2018-08-02 14:58:47 -06:00
xxdr.c Misc. source comment typos 2018-04-26 23:04:01 -04:00
xxdr.h 1. synch with oc lib 2015-03-02 20:26:39 -07:00