Commit Graph

3690 Commits

Author SHA1 Message Date
Dennis Heimbigner
7c3164577e Finalize the compression support.
This relies on the HDF5 capability to
dynamically load compression filters.
Note that a compression filter is just
a subcase of filters.

The primary user-visible changes are as follows:
1. Add a standard header "netcdf_filter.h" that defines
   the necessary API extensions
2. Modify ncgen to support two new special attributes
   "_Filter_ID" and "_Filter_Parameters" so that compression
   can be turned on when creating a file using ncgen.
4. Add a detailed description of filtering support
   to the user's guide; see the file filters.md
5. Add a test case directory for this: nc_test4/filter_test.
   It is fragile and a ./configure flags (-enable-filter-test)
   is defined (default disabled) to shut this off this test
   to avoid spurious 'make check' failures.

Note that the HDF5 documentation is not up-to-date, so
much of what is encoded here comes from examining the
actual code in the file H5PL.c in the HDF5 source code.
2017-04-27 13:01:59 -06:00
Dennis Heimbigner
77047588bc Merge branch 'dap4.dmh' into ddap4 2017-04-14 19:35:33 -06:00
Dennis Heimbigner
32fe709615 ckp 2017-04-14 11:05:30 -06:00
Ward Fisher
076596ee7e Corrected an issue with missing CMakeLists files, missing directories in the build directory structure. 2017-04-13 15:54:32 -06:00
Dennis Heimbigner
e0e53a2c6d add in path conversion 2017-04-11 18:55:04 -06:00
Dennis Heimbigner
d98769a98f ckp 2017-04-11 17:09:58 -06:00
Dennis Heimbigner
83a4c42bc0 ckp 2017-04-11 16:16:29 -06:00
Dennis Heimbigner
a2090ccc0d Add debug output for libdap4/d4read.c 2017-04-10 12:04:20 -06:00
Dennis Heimbigner
6a4ba35565 Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh)
1. Cleanup test_common.sh to expunge (mostly) the use of the VS
   path value. This has the effect of being unable to use the
   Visual Studio C compiler for shell tests.
2. There is a missing case in CMakeLists.txt so add
   defaulting for HDF5_C_LIBRARY_hdf5 using HDF5_C_LIBRARY.
   Ward should probably examine this to get it fixed correctly.
3. Put back ref to esg.md in docs/Doxyfile.in
4. Fix minor warning in dut8proc.h
2017-04-10 09:26:57 -06:00
DennisHeimbigner
7fb4edd6d9 Update test_raw.sh
Quick fix for test_raw under msys
2017-04-07 15:43:01 -06:00
Ward Fisher
8c48ac9828 Had to modify test_common.in so that it doesn't append the build type on Visual Studio. Otherwise it looks in the wrong location. Change the location of the utilities so that they are where test_common.sh expects to find them results in the breakage of most of the other shell scripts. 2017-04-06 14:55:11 -06:00
Dennis Heimbigner
16e050e157 Merge branch 'dap4.dmh' of https://github.com/Unidata/netcdf-c into dap4.dmh 2017-04-06 10:06:57 -06:00
Dennis Heimbigner
e1e7c77c26 Add initial DAP4 documentation 2017-04-06 10:06:32 -06:00
Ward Fisher
6627d7299d Merge branch 'master' into dap4.dmh 2017-04-05 15:38:23 -06:00
Ward Fisher
6bf5a38d90 Corrected an issue with autotools and OSX and utf8. 2017-04-05 11:14:42 -06:00
Dennis Heimbigner
f6144a1fe4 Accidentally undid the uname fix at some point
in test_common.in. Restore it.
2017-04-04 11:20:59 -06:00
Dennis Heimbigner
6d8809100f Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh)
1. When running under windows (as opposed to cygwin)
   we need to make sure to not user /cygdrive/ file paths.
   This was ocurring in libdap4/d4read.c, but may occur
   elsewhere.
2. Shell scripts in the git repo are not being checked-out
   with the executable mode set. Had core.filemode set to false.
   Was a major hassle to fix.
2017-04-03 21:39:44 -06:00
Dennis Heimbigner
f73efeab2a Master conflicts fixed 2017-03-30 16:22:49 -06:00
Dennis Heimbigner
5f15c9e777 1) master merge 2)fix uname -o problem 2017-03-30 16:21:31 -06:00
Dennis Heimbigner
3432d4f950 Enable dap4 by default; disable dap4 remote tests 2017-03-30 15:25:20 -06:00
Ward Fisher
c774157d05 Merge branch 'master' into dap4.dmh 2017-03-30 13:23:32 -06:00
Ward Fisher
8481819096 Merge pull request #336 from gsjaardema/patch-1
Set default fill/no_fill behavior on newly defined variable (nc4)
2017-03-30 12:56:38 -06:00
Greg Sjaardema
97c27b1582 Merge branch 'master' into patch-1 2017-03-29 20:19:37 -06:00
Ward Fisher
45e30475f6 Updated release notes to reflect new return, modified test to check for proper expected return value. 2017-03-29 15:47:48 -06:00
Ward Fisher
92ef49d4ed Updated release notes. 2017-03-29 15:43:45 -06:00
Ward Fisher
5871f3ad0c Merge branch 'global_fill' of https://github.com/wkliao/netcdf-c into ghpull-388 2017-03-29 15:36:34 -06:00
Ward Fisher
16169a27af Wiring in test in support of https://github.com/Unidata/netcdf-c/issues/388 2017-03-29 15:25:38 -06:00
Dennis Heimbigner
7d9a1107c9 Master merge to remove conflicts 2017-03-29 14:40:08 -06:00
Ward Fisher
4726c43b0e Updated release notes. 2017-03-29 12:07:34 -06:00
Ward Fisher
1aaf09d797 Merge branch 'issue384' of https://github.com/wkliao/netcdf-c into ghpull-384 2017-03-29 11:51:48 -06:00
Ward Fisher
e5fb53f996 Restored line that was accidentally removed. 2017-03-29 11:38:59 -06:00
Ward Fisher
6b036cfc28 Adding test in support of https://github.com/Unidata/netcdf-c/issues/384 2017-03-29 11:23:47 -06:00
Wei-keng Liao
1508bd5529 fix the previous commit that missed the case of re-open file 2017-03-29 12:16:25 -05:00
Ward Fisher
4736444fb0 Merge pull request #386 from Unidata/issue380.dmh
Ncgen treats an integer with just a U/u suffix as uint64 instead of uint32.
2017-03-27 13:41:40 -06:00
Dennis Heimbigner
80390b94e5 keep up-to-date with master 2017-03-27 12:16:24 -06:00
Wei-keng Liao
f7f8a0ff90 change error code from NC_EINVAL to NC_EGLOBAL when trying to set global _FillValue 2017-03-25 14:47:25 -05:00
Wei-keng Liao
0ff3616b01 NC_EINVAL should be returned when trying to set attribute _FillValue for global variable 2017-03-25 13:59:39 -05:00
Wei-keng Liao
73ccb364a9 To solve NC_ELATEFILL error for NetCDF-4 files, mark all variables written at enddef. 2017-03-24 20:55:00 -05:00
Dennis Heimbigner
38bf48d2ca re: gihub issue https://github.com/Unidata/netcdf-c/issues/380
Re: esupport ticket support-netcdf : SKS-534087
Ncgen treats an integer with just a U/u suffix as uint64 instead of uint32.
Fix is in ncgen.l
2017-03-24 18:56:14 -06:00
Ward Fisher
d0d1a69826 Updated release notes in support of https://github.com/Unidata/netcdf-c/pull/316 2017-03-21 15:01:00 -06:00
Ward Fisher
da72d671f7 Merge branch 'NC_CHAR_to_ASCII' of https://github.com/shoyer/netcdf-c into ghpull-316 2017-03-21 12:50:19 -06:00
Ward Fisher
48113a5508 Merge pull request #378 from Unidata/gattenum.dmh
Fix bug in ncgen handling of global, enum valued, attribute.
2017-03-20 18:20:21 -06:00
Dennis Heimbigner
24414335f3 debug cmake failures 2017-03-20 14:40:00 -06:00
Dennis Heimbigner
8e290f2aec CMake fixes 2017-03-20 14:28:38 -06:00
Dennis Heimbigner
44e52e0515 More distcheck cleanup 2017-03-20 13:50:44 -06:00
Dennis Heimbigner
a763bb51d4 Add the intermediate file to be cleaned up 2017-03-18 18:47:19 -06:00
Dennis Heimbigner
cb473bf6ff Apparently we have no .cdl test cases that have
a global attribute whose type is an enum.

Turns out this case fails because of an
oversight in ncgen.

This pr fixes that problem (in semantics.c).
Also added test case .cdl file: tst_gattenum.cdl
2017-03-18 17:57:48 -06:00
Dennis Heimbigner
031ae14842 upgrade new oc files to nclist/ncbytes 2017-03-17 17:20:02 -06:00
Dennis Heimbigner
be6e1b65dc Fix conflicts with master 2017-03-17 14:58:38 -06:00
Greg Sjaardema
26c393cd13 Merge branch 'master' into patch-1 2017-03-15 08:50:12 -06:00