Ward Fisher
bb42e4639e
Addressed conflict between master, mem2.
2015-06-02 15:03:12 -06:00
Ward Fisher
cf6d87f1dc
[NCF-332] Addressed the issue in get_netcdf_type_from_hdf4() by adding case statements explicitly for the little-endian hdf4 values as defined by http://www.hdfgroup.org/training/HDFtraining/UsersGuide/Fundmtls.fm3.html .
2015-05-28 17:27:57 -06:00
Ward Fisher
afa157f918
Started adding checks for little-endian HDF data types [NCF-332]
2015-05-28 16:41:48 -06:00
dmh
3dd807a155
The original mem branch somehow got
...
hosed, so I rebuilt it as a new mem2 branch.
2015-05-28 15:10:10 -06:00
Ward Fisher
167835ea32
Added a check to avoid passing 0 to malloc; in this case gcc will return a pointer but some other compilers will return NULL, which is then flagged as a malloc failure. Attempting to bypass this behavior.
2015-05-20 11:11:19 -06:00
Ward Fisher
9d98aab40a
Refactored test.
2015-05-15 15:29:29 -06:00
Ward Fisher
99ef1624bc
Regarding [NCF-331], the issues appears to have been in nc4file.c:get_type_info2(). The call to H5Tget_order() was only happening for H5T_Float. According to the documentation, this works for all datatypes as of hdf5 1.8.6. This tentatively fixes the bug reported, but additional testing (and cleanup from debugging) is needed.
2015-05-15 14:24:27 -06:00
Ward Fisher
999f4e5720
Additional debugging, modified the LOGGING functions somewhat. Also modified ncdump to print 'native' endianness. This may be removed before merging back into trunk.
2015-05-14 17:22:07 -06:00
Ward Fisher
4c07e22ae4
Progress working towards [NCF-329]
2015-04-21 13:52:43 -06:00
Russ Rew
ab18a2e17c
Fix bug NCF-187 (thanks to Alexander Barth). Add test for bug fix.
2015-04-02 12:30:51 -06:00
Quincey Koziol
aede522766
Mark dataset attributes dirty when one is renamed.
2015-02-25 09:25:40 -06:00
Ward Fisher
dd2ae92a48
Corrected a potential dereference of a null pointer.
2015-02-11 13:13:39 -07:00
Ward Fisher
c1875ec8f0
Addressed a couple of memory leaks identified by clang.
2015-02-10 13:39:15 -07:00
Russ Rew
72c3e5809a
Fix comment, small memory leak
2015-02-05 16:33:42 -07:00
Ward Fisher
e2a56efa9c
Merge branch 'NCF-324' of https://github.com/qkoziol/netcdf-c into qkoziol-NCF-324
2015-02-04 09:54:17 -07:00
Ward Fisher
dd2318b725
Added fencepost for cross-dll memory freeing in Windows/Visual Studio
2015-02-02 14:46:51 -07:00
Quincey Koziol
4f8898719a
NCF-324: Make similar change to get_vara code, and add in test to Makefile.am
2015-02-02 08:51:00 -06:00
Quincey Koziol
e9484cc7e6
NCF-324 - Don't reopen HDF5 dataset if it's already open (in particular when
...
the variable name is the same as a dimension name).
2015-02-02 08:32:17 -06:00
Ward Fisher
296928ffc7
Identified a potential null pointer dereference introduced in pull request, added check for null pointer.
2014-12-28 21:04:48 -08:00
Ubuntu
64f95828c3
Checkout current files
2014-12-28 01:10:33 +00:00
Quincey Koziol
2917a6a123
Interim checkpoint of working code.
2014-12-01 08:52:53 -06:00
Quincey Koziol
d2ed77f95f
Merge remote-tracking branch 'upstream/master' into NCF-177
2014-11-30 23:49:24 -06:00
Quincey Koziol
7a9e209147
Merge branch 'master' into NCF-177
...
Conflicts:
libsrc4/nc4hdf.c
2014-11-30 23:37:19 -06:00
Quincey Koziol
8769d58b1d
Initial fix for further rename issue.
2014-11-24 09:36:58 -06:00
Ward Fisher
2ab47745cc
Fixed a different set of potential memory leaks paired with the previous ones.
2014-11-11 15:24:38 -07:00
Ward Fisher
2f7ffacac4
Fixed a handful of potential memory leaks reported by clang static analysis.
2014-11-11 15:17:57 -07:00
dmh
1739c50622
Modified a number of tests
...
to make use of remotetest.unidata.ucar.edu
optional. Purpose is purely for testing
new dts and thredds servers.
2014-10-04 15:59:16 -06:00
Ward Fisher
03ce4c9761
Cast malloc return to appropriate type.
2014-10-01 17:04:56 -06:00
Ward Fisher
61a7dab58f
Fixed an issue preventing compilation with hdf4 support with Visual Studio.
2014-08-28 18:14:14 -06:00
Ward Fisher
b43813d821
When using the '-ansi' flag with gcc, netcdf would fail to build because of the use of '//' for one-line comments. I've addressed this by replacing instances of // with enclosing comment blocks.
2014-08-26 11:19:32 -06:00
Ward Fisher
840d80f490
More doxygen tweaks.
2014-07-09 16:45:13 -06:00
Ward Fisher
7f812b367e
Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements.
2014-06-11 15:51:31 -06:00
Ward Fisher
dd53809815
Cleaned up a comment in nc4hdf.c
2014-06-09 17:03:49 -06:00
dmh
ed068ef643
Fix misc. typos from previous commit
2014-06-02 14:02:34 -06:00
dmh
909940f9d3
#endfi -> #endif
2014-06-02 13:25:53 -06:00
dmh
83ec39f5db
[NCF-272]
...
re: e support ZCL-340681 and CPW-270700
HDF4 supports compression (and chunking)
but the chunking was not being recorded
for HDF4 files. So, I modified the necessary
files to support HDF4 chunking.
2014-06-02 13:04:28 -06:00
dmh
b560fe1233
[NCF-272]
...
It turns out that HDF4 supports chunking
(and compression). However the existing
HDF4 code does not support it.
So add HDF4 support for chunking.
Also add a test case.
2014-05-30 22:12:05 -06:00
Ward Fisher
2dccd773e9
Corrected an 'dead assignment' issue reported by static analysis.
2014-05-19 16:26:49 -06:00
Quincey Koziol
435d8a03ed
Account for the HDF5 library not having the MPI-POSIX VFD configured in.
2014-05-07 08:45:15 -05:00
Ward Fisher
5a693d7326
Merged pull requestion from nschloe, #48 .
2014-04-21 16:11:48 -06:00
Ward Fisher
44fae42214
Cleaned up indentation, white space in multiple CMakeLists.txt files.
2014-04-21 11:15:33 -06:00
Dennis Heimbigner
4ae47ad45b
jna?
2014-04-21 10:13:27 -06:00
Ward Fisher
ff47046e93
Fixed clang-reported issue: memory leak.
2014-04-19 17:57:25 -06:00
Dennis Heimbigner
b3a7ccb3d4
more jna fixes
2014-04-10 19:48:53 -06:00
Dennis Heimbigner
af9b5c4abf
alternate JNA bug fix
2014-04-10 14:03:11 -06:00
dmh
211004898f
jna fixes
2014-04-09 15:20:16 -06:00
Ward Fisher
76e5e0f1fa
Addressed several minor issues revealed by static analysis (coverity, clang). Mostly to do with extreme corner cases in which a null pointer would be dereferenced, or dereferencing a non-null (but non-initialized) pointer would result in garbage.
2014-03-28 17:11:26 -06:00
Russ Rew
7d36a6c7f3
Fix a couple of warnings
2014-03-27 11:11:06 -06:00
Russ Rew
b95ab08f8f
Fix bug in setting default chunksize for 1D record variables
2014-03-27 09:58:53 -06:00
Russ Rew
93878e8816
Fix possibility of divide by zero in rechunking.
2014-02-27 12:19:14 -07:00