Commit Graph

226 Commits

Author SHA1 Message Date
Dennis Heimbigner
0ae62dceca 2011-09-18 21:04:53 +00:00
Dennis Heimbigner
12d4f46668 2011-09-18 20:57:51 +00:00
Dennis Heimbigner
d7790e7e7e 2011-09-16 18:36:08 +00:00
Russ Rew
51906ca254 Support Dave Allured's ncdump mods for time-valued attributes. Refactor all ncdump time code into nctime.c. Add '-i' option for strict ISO-8601 time notation. Fix backward compatibility test to not use DBL_MAX, which is the same as IEEE infinity when using only 15 significant digits of precision. Document ncdump time functionality in man page. 2011-09-12 21:31:08 +00:00
Russ Rew
b658836a6e Finish handling bounds variables with ncdump -t (NCF-70). Fix bug with permitted dimension sizes in netCDF classic files (NCF-117). 2011-09-05 16:09:17 +00:00
Russ Rew
50115604c8 Fixes for NCF-70, ncdump -t printing of time-values attributes. Haven't fixed printing of cell bounds for time-valued variables yet. 2011-08-31 18:28:08 +00:00
Russ Rew
9cf1d30479 Fix bug NCF-16 2011-08-26 03:54:25 +00:00
Dennis Heimbigner
53e8d22d24 Fixed NCF-104 2011-07-27 20:48:58 +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
Ed Hartnett
2b9c9cf1eb beginning of ncdump documentation in doxygen 2011-07-15 14:35:12 +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
3a7556a306 Fix ncdump bug displaying NC_USHORT attribute values as NC_SHORT in netCDF-4 files. Add test for fix. 2011-06-24 04:51:11 +00:00
Russ Rew
b3b7861756 Fix ncdump/tst_compress bug that shows up on Solaris systems. Fix default variable chunksize algorithm. 2011-06-23 17:15:01 +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
Russ Rew
90464b582f Allow nccopy to rechunk with chunksizes larger than current dimension lengths. 2011-06-03 21:06:58 +00:00
Ed Hartnett
e2685a1475 changes to remove EXTERN_LDFLAG from build, also to fix netCDF-4 sync bug 2011-05-17 19:14:35 +00:00
Dennis Heimbigner
fec4cdb230 Fixed the following Jira minor bugs:
NCF-42: _Format attribute sometimes being ignored
NCF-43: Fixed unsigned long long parsing.
NCF-47: Make opendap code properly handle illegal names like "x.y" by
        supressing them
NCF-49: check for uint type
NCF-50: properly handle username:pwd embedded in urls.
2011-05-12 17:51:32 +00:00
Ed Hartnett
8d99e0b43a more changes for mingw/DLL builds 2011-05-11 19:51:11 +00:00
Ed Hartnett
29e8619787 simplified build system 2011-04-26 20:57:24 +00:00
Ed Hartnett
272b37285f took out some other tests that will break now 2011-04-25 17:10:01 +00:00
Ed Hartnett
8559e6f976 added test that activates classic library bug 2011-04-25 17:09:14 +00:00
Ed Hartnett
30ed1c1710 re-added some link options that should not be needed, but are for cygwin and MPI builds 2011-03-22 19:38:55 +00:00
Ed Hartnett
d0d5e7c8c3 changes to make make check work on dll builds (by turning off shell tests for dll builds) 2011-03-21 20:31:56 +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
Dennis Heimbigner
fdaffca925 fix sid bug 2011-02-18 22:44:35 +00:00
Dennis Heimbigner
2f86aab292 fixed lang. top-level unlimited problem and added tests for it 2011-02-17 17:36:57 +00:00
Russ Rew
62c4c5435d More documentation for nccopy -c for chunking in Users Guide and man page. 2011-02-15 23:28:12 +00:00
Dennis Heimbigner
199577e143 1. add vars optimize for varm, 2. fix handling of unlimited array of compounds 2011-01-26 21:58:03 +00:00
Ed Hartnett
73548c6f7f fixed calls to nccopy and nccdump 2011-01-18 17:17:51 +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
Russ Rew
3534c60904 Added ability to customize output chunking to nccopy. 2011-01-06 22:09:14 +00:00
Russ Rew
52e525c19c Factor out common functionality in ncdump and nccopy and share between them. 2011-01-05 23:48:47 +00:00
Russ Rew
d27879027e Fix memory problem detected with MALLOC_CHECK_=2 2011-01-02 06:20:24 +00:00
Russ Rew
39b6c1eb5c Fixed nccopy bug when using --disable-netcdf-4. Removed premature nccopy chunking code. 2011-01-01 20:02:58 +00:00
Russ Rew
b37a176fa0 Clarified documentation for nc_inq_grp_ncid(), differentiating it from nc_inq_ncid(). Fixed problem returning values from functions declared void in some libsrc4/ test programs. Added test for bug in ncdump for dimensions with same name in nested groups, and fix for bug. Fixed nccopy bug involving dimensions with smae name in nested groups. Added code for specifying chunking by dimension to nccopy (but not implemented yet). 2010-12-30 18:17:04 +00:00
Dennis Heimbigner
f7e41dde66 add cdmremote skeleton code 2010-12-15 21:45:05 +00:00
Russ Rew
f4b8da646c Add nccopy doumentation to Users Guide. Update man pages for ncdump, nccopy. Other minor fixes to Users Guide. 2010-11-17 23:20:40 +00:00
Dennis Heimbigner
b2c05fa4d0 fixed:
ncgen: nan bug
       made semicolons optional after type decls
libncdap{3,4}: revamped the NC surrogate to better match
       with libsrc
libdispatch: Added a new_nc function to the dispatch table; its purpose
                 is to allow hierarchical use of NC compatible data structures.
libsrc: cleaned up the NC structure by removing drno field
general: removed --with-oc options
2010-11-09 22:53:03 +00:00
Russ Rew
cdffbf74a9 Fixed spelling errors. 2010-11-05 22:12:14 +00:00
Russ Rew
c0f9c533f6 fix nccopy man page 2010-11-05 20:53:01 +00:00
Russ Rew
47f06bf045 Fix to work for --disable-netcdf-4 also 2010-10-04 20:18:36 +00:00
Russ Rew
7a6f7c6a94 Merge group iterator source into existing variable data iterator files nciter.h and nciter.c. Adapt nccopy.c accordingly. 2010-10-04 17:24:21 +00:00
Russ Rew
a448df0f3d Fixed malloc/free problem with group iterator, leaks. Used group iterator to simplify nccopy. 2010-09-30 15:19:07 +00:00
Russ Rew
e8b72bd177 provide a simpler API, nc_inq_grps_full() 2010-09-24 16:01:38 +00:00
Russ Rew
493c5ff596 Added group iterator code, to be used later to simplify nccopy, maybe ncdump 2010-09-23 22:41:22 +00:00
Russ Rew
55e7fc8a4b Fix make distcheck failure due to needed in test script 2010-09-03 18:55:56 +00:00
Russ Rew
895e7e74c4 Changes to get tst_compress to compile and run before tst_inflated.nc it creates is needed in test 2010-09-02 22:22:51 +00:00
Russ Rew
2fdbd7e8e4 simplification to nccopy code 2010-09-02 21:01:27 +00:00
Russ Rew
0a52446069 Cleanup of remaining TODO items in nccopy, before pushing to trunk 2010-09-01 19:57:36 +00:00
Russ Rew
c15b6d885e Improve example used in test of nccopy compression with shuffling, to show significant improvement when shuffling used. 2010-09-01 18:40:17 +00:00
Russ Rew
8a9a99a3a6 Have tst_nccopy4.sh invoke tst_compress explicitly, to create compressible test file. 2010-09-01 15:45:55 +00:00
Russ Rew
7b32b6acb6 Add forgotten test file to EXTRA_DIST in Makefile.am 2010-09-01 14:56:32 +00:00
Russ Rew
d9d6634ee8 Support k, m, or g suffixes for -m buffer size option. 2010-09-01 03:21:08 +00:00
Russ Rew
20b1e1615a Allow double NaNs and Infinities in double to double conversions. Add tests for nccopy deflation, shuffling, and dimension-fixing options. Add man-page documentation for new nccopy topions, with examples. Run tst_nccopy3.sh test even for netCDF-4 builds. 2010-08-31 22:41:00 +00:00
Russ Rew
4ce85da310 nccopy changes to support compression 2010-08-29 15:08:12 +00:00
Russ Rew
a46ef6091e another try at fixing MALLOC_CHECK_=3 error on spock 2010-08-11 04:58:14 +00:00
Russ Rew
43b670b255 fixed bug found with MALLOC_CHECK_=3, freeing improperly aligned pointer 2010-08-09 22:25:52 +00:00
Russ Rew
817502e6e1 Fix a malloc bug 2010-08-03 16:09:01 +00:00
Russ Rew
26dc29c538 Eliminated use of NC_MAX_DIMS from ncdump and nccopy, in favor of just\ allocating required memory. 2010-08-02 21:31:01 +00:00
Russ Rew
ddf6b6722f Fix bug in emalloc of start and count. 2010-08-02 20:36:12 +00:00
Russ Rew
4a089699c9 Eliminate most uses of NC_MAX_DIMS in ncdump and nccopy. 2010-08-01 17:16:08 +00:00
Russ Rew
9e0b72e5b8 Merged latest trunk changes to my branch. 2010-07-29 22:55:35 +00:00
Russ Rew
86cfc908ad Get rid of uses of NC_MAX_DIMS in ncdump that are easy to eliminate.Get rid of some uses of NC_MAX_DIMS from nccopy. Add libsrc/pstdint.hfor systems that have no stdint.h. 2010-07-29 22:41:05 +00:00
Dennis Heimbigner
c9a566a42c rebuilt the handling of character datalists to support unlimiteds properly 2010-07-29 20:37:05 +00:00
Ed Hartnett
53e0c50de6 roll back mistaken commit 2010-07-09 16:03:27 +00:00
Ed Hartnett
fc46dca977 updated RELEASE_NOTES 2010-07-09 16:01:43 +00:00
Russ Rew
b971b1d9d8 Don't use C99 inline declarations, gcc4 won't compile them. 2010-07-05 04:06:02 +00:00
Russ Rew
726e4b0457 Don't call nc_inq_dimids when netCDF-3 only 2010-07-05 00:00:23 +00:00
Russ Rew
a90944979f Fix bug identifying coordinate variables in groups, from Felipe
Bertrand's bug report.
2010-07-02 17:20:01 +00:00
Ed Hartnett
2ce4c3e368 removed unneeded files from repository 2010-06-29 14:22:30 +00:00
Ed Hartnett
21f84d5c6c fixed some makefile include problems for ncgen/ncdump 2010-06-28 18:07:35 +00:00
Ed Hartnett
92ccf1c5fa moved headers to include directory 2010-06-03 20:22:55 +00:00
Ed Hartnett
18f4bca367 moving to trunk subdir 2010-06-03 13:24:43 +00:00