Commit Graph

69 Commits

Author SHA1 Message Date
dmh
859f105005 merge-squash 2015-08-15 16:26:35 -06:00
Russ Rew
2e029a3058 More cleanups from clang warnings. 2015-08-02 17:23:32 -06:00
Russ Rew
e10bce8637 Fix bug ncf-321, requiring chunk size for unlimited dimension instead of providing default 2015-01-02 07:09:16 -07:00
Russ Rew
9347ef020a In nccopy, replace short format names to match new docs, fix comments 2014-12-17 10:27:35 -07:00
Russ Rew
7121a5dd73 Cleaned up deprecated -k n option messages and comments 2014-12-05 15:36:01 -07:00
Russ Rew
2640c0c9e3 Add numeric options (-3, -4, -6, -7) for output format, deprecating
equivalent -k N options.
2014-12-05 12:26:42 -07:00
Russ Rew
c5237736e4 For nccopy, added version info in usage printout. 2014-08-26 14:05:47 -06:00
Ward Fisher
cd30a9e570 Corrected several static analysis errors related to uninitialized variables. 2014-04-22 16:11:37 -06:00
Russ Rew
b22181768d Fix a few coverity warnings. 2014-03-28 22:03:10 -06:00
Russ Rew
9d86610739 Fix Jira ticket NCF-295, nccopy -d0 shuffle and chunking issues 2014-03-23 17:25:45 -06:00
Russ Rew
d774e23bc1 Fix -d0 option to not do unwanted chunking or associated shuffle.
Add -c '/' option to specify changing layout for all variables from chunked to contiguous.
Fix logic for chunking and compression depending on input and output formats.
2014-03-21 12:34:19 -06:00
Russ Rew
cb1e4471b5 Removed doxygen man page, since it now is in the User Guide. 2014-03-06 21:15:00 -07:00
Russ Rew
8e59dc3ce8 Merge branch 'master' of https://github.com/Unidata/netcdf-c
Conflicts:
	ncdump/nccopy.c
2014-03-06 21:12:48 -07:00
Russ Rew
dac98c89b5 Typo fixes in install doc. Document nccopy chunk threshold. 2014-03-04 15:03:49 -07:00
Ward Fisher
805a6f5b58 Removed a stray character that caused the build to fail. 2014-03-03 12:24:36 -07:00
Ward Fisher
700a0bf848 Reorganizing NetCDF User's guide document. 2014-03-03 11:29:46 -07:00
Ward Fisher
f6a969cfd5 Updated and consolidated some redundant documentation. 2014-02-25 17:08:04 -07:00
Quincey Koziol
4bfd9b27a0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libdap2/common34.c
	oc2/ocutil.c
2014-02-11 17:26:09 -06:00
dmh
0f4b72c53b [NCF-286]/e-support:JVN-123940
using cygwin64 causes a couple of bugs during make check.
Fixes are as follows:
1. in ncdump.c and nccopy.c change all occurrences of
   'return EXIT_FAILURE'
   and
   'return EXIT_SUCCESS'
   with
   exit(EXIT_FAILURE)
   and
   exit(EXIT_SUCCESS)
   respectively.
   I have no idea why this works.
2. in libdap2/ncdap3a.c#freeNCDAPCOMMON,
   remove the call to nc_abort, it is
   causing a loop; not sure why this
   is not caught under other operating systems.
2014-02-04 16:26:52 -07:00
Quincey Koziol
cd71eb525c Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an
error occurs after an "exit:" label.

Corrected a dozen Coverity errors (mainly allocation issues, along with a few
    other things):
        711711, 711802, 711803, 711905, 970825, 996123, 996124, 1025787,
        1047274, 1130013, 1130014, 1139538

Refactored internal fill-value code to correctly handle string types, and
    especially to allow NULL pointers and null strings (ie. "") to be
    distinguished.  The code now avoids partially aliasing the two together
    (which only happened on the 'write' side of things and wasn't reflected on
    the 'read' side, adding to the previous confusion).

    Probably still weak on handling fill-values of variable-length and compound
    datatypes.

Refactored the recursive metadata reads a bit more, to process HDF5 named
    datatypes and datasets immediately, avoiding chewing up memory for those
    types of objects, etc.

Finished uncommenting and updating the nc_test4/tst_fills2.c code (as I'm
    proceeding alphabetically through the nc_test4 code files).
2013-12-29 01:12:43 -06:00
Russ Rew
920393b891 Update nccopy documentation for -v and -g options 2013-04-25 20:50:59 +00:00
Russ Rew
51ac4014da Add missing documentation for nccopy -v and -g options 2013-04-16 22:18:14 +00:00
Ward Fisher
4a274b9870 Merged latest changes from cmake development branch.
Addressed a number of memory-related problems
reported by Coverity.
2013-04-02 22:09:31 +00:00
Russ Rew
3ef3b35a94 Refactor to share functions between ncdump and nccopy. Merge nccopy
enhancements, based on contributed code from Martin van Driel, to
support -v, -g, -V, and -G options for selecting groups and variables
in output.  Fix all clang warnings from nccopy and ncdump sources, as
well as a few other cleanup changes to testing code.
2013-01-23 17:45:29 +00:00
Russ Rew
22b411a17c Merged in pnetcdf fixes from Greg Sjardema, to make set_fill_mode work
with parallel-netcdf, to fully implement parallel-netcdf support for
other functions, and to prevent a hang in hdf5 from an eary return in
an nc4_put_vara() call.  Also fixed an nccopy bug when
nc_inq_var_deflate() returns defalate_level of 0, but says the variable
is deflated.
2013-01-15 03:46:46 +00:00
Russ Rew
d93d40fd5f Fixed bug NCF-211 with nccopy. Minor updates to top-level README. 2012-12-11 17:49:40 +00:00
Russ Rew
0eef2f4c87 Add suffix support for nccopy -e option 2012-11-21 20:46:43 +00:00
Russ Rew
8e98e3727d Fixed bug NCF-144 (ncdump of variables with multiple unlimited
dimensions).  Added comprehensive tests that include variables with
lots of combinations of 0 through 4 fixed and unlimited dimensions.
2012-11-16 21:37:43 +00:00
Ward Fisher
2de3388cf1 Additional CMake usage. 2012-09-13 18:27:23 +00:00
Ward Fisher
d6c7112481 2012-09-11 19:53:47 +00:00
Ward Fisher
04e61d5894 Added MSVC-compatibility items. 2012-08-27 21:19:25 +00:00
Russ Rew
a24c1732b6 Fix unnecessary tests and other minor problems in ncdump identified by Coverity. 2012-07-31 22:17:42 +00:00
Russ Rew
f638446d00 Fix typo in configure.ac. Also, if we have to have multiple copies of 2012-05-09 17:21:32 +00:00
Russ Rew
fa3fbbcc92 Fixes for NCF-150, bugs in libsrc4 with handling strings in non-netCDF-4 HDF5 files. Added new test in nc_test4 to verify fixes. 2012-04-20 15:42:55 +00:00
Russ Rew
85743d97f0 Fix ncopy so it actually uses -r option instead of ignoring it. Remove a large number of dead assignments found by clang in nc_test/tt_atts.c. 2012-04-13 02:52:30 +00:00
Russ Rew
df361a2891 Fix nc-config.in so --all option works with or without nf-config installed. Add -r and -w options to nccopy for diskless speedups. 2012-04-12 17:18:06 +00:00
Russ Rew
5446b72ae6 Get Greg Sjaardema's nccopy bug fix NCF-162 in before release 2012-03-19 18:20:15 +00:00
Russ Rew
0d09fe4558 Finish resolving NCF-142, update to RELEASE_NOTES 2012-03-16 12:36:51 +00:00
Russ Rew
75cb7837fb Speed up nccopy on systems with big disk block sizes 2012-03-08 19:48:57 +00:00
Dennis Heimbigner
aebd11348a 1)Integrate the oc with improved performance 2012-01-29 18:56:29 +00:00
Russ Rew
9d77c3b54d Fix nccopy bug described in Jira issue NCF-140 2012-01-19 17:37:15 +00:00
Russ Rew
75af04d4a8 Fix NCF-101 bug, and add test for fix. Delete debugging leftover in nccopy.c. Fix typo in installation guide. 2011-07-18 19:11:28 +00:00
Russ Rew
f10a142411 Added and documented nccopy options to specify chunk cache. Fixed nccopy bug of not permit chunk lengths >= dimension lengths. Added experimental (undocumented) option for computing adequate chunk cache. 2011-07-12 19:06:00 +00:00
Russ Rew
baba1bd4ce Add -h, -e options to nccopy for setting chunk cache 2011-07-07 18:36:00 +00:00
Russ Rew
a7015f0967 Fix nccopy bug ignoring -d and -c options for netCDF-4 input files. Fix exception handling in cxx4. 2011-06-21 15:10:17 +00:00
Ed Hartnett
8d99e0b43a more changes for mingw/DLL builds 2011-05-11 19:51:11 +00:00
Ed Hartnett
8eb9a74016 many changes to get clean DLL builds in mingw for fortran, cxx, cxx4, and v2 2011-03-21 18:38:10 +00:00
Ed Hartnett
965a3aac70 minor refactor of the build system to work better for cross-compiling 2011-03-15 10:19:08 +00:00
Russ Rew
e3cc92894b Fixes to nccopy -c, more testing and documentation. Added nccopy chunking documentation to User's guide. 2011-01-17 22:15:26 +00:00
Russ Rew
f7aaa9e097 Fix nccopy chunking and rechunking functionality when copying classic files with custom chunking specified for netCDF-4 output. 2011-01-09 21:41:07 +00:00