Commit Graph

778 Commits

Author SHA1 Message Date
Ward Fisher
151bcf6690 Corrected several 'srcpath' related issues introduced when the windows
netcdf branch was merged into the trunk.  'make distcheck' should work now.
2012-06-14 17:24:55 +00:00
Ward Fisher
2e96987a41 Merged latest changes from trunk, including deletion of win32 directory. 2012-06-13 19:29:01 +00:00
Russ Rew
79cde861ac Delete obsolete libdiskless directory, replaced by new diskless
implementation.  Deleted obsolete win32, soon to be replaced by Ward's
Windows 32- and 64-bit fixes for building with MSYS/MinGW.  Made
cosmetic cleanup to output of "make check" to make it easier for users
to interpret.  Fixed bug NCF-175: ncdump -t incorrectly interpreting
units attribute (such as "days") without a base time (such as "since
2007-01-01") as a time unit.

Changed name to 4.2.1-beta.
2012-06-12 21:50:02 +00:00
Ward Fisher
1de595508f Merged changes from trunk 2012-06-12 19:51:17 +00:00
Ward Fisher
b676336b6c o Added configuration script for 32-bit dll w/ DAP support.
o Corrected the check for curl when building DLL. For some reason it just assumed it was missing? No real check was performed.
o Made configuration scripts a little more generic.
o Modified daputil.h to externalize nc__testurl on Windows.
2012-06-07 22:35:17 +00:00
Russ Rew
024f318431 Fixed bug NCF-175: ncdump -t incorrectly interpreting units attribute
(such as "days") without a base time (such as "since 2007-01-01") as a
time unit.
2012-06-07 18:14:02 +00:00
Ward Fisher
a5c4bf581f o Moved a couple more scripts around to use a uniform
naming convention.

o Modified ncdump shell, test scripts so that the extra
  digit in an exponent on windows wouldn't be a problem.

o Modified configure.ac to check for the zlib dll provided
  by the zlib group; they recommend using the official dll for
  windows builds.
2012-05-25 21:22:09 +00:00
Ward Fisher
d1b159bfa1 Modified Makefile.am scripts to run tests when working with
Windows DLLs.
2012-05-23 20:27:34 +00:00
Ward Fisher
0cdced57ed Integrated latest changes from trunk 2012-05-18 15:23:44 +00:00
Dennis Heimbigner
79c751b806 catch some distclean files 2012-05-13 18:42:10 +00:00
Ward Fisher
ed3f676414 Corrected type in previous commit. 2012-05-11 20:27:34 +00:00
Ward Fisher
f620046772 Excluded absolute path ncdump test from running on windows platforms for the time being. See notes in tst_netcdf4.sh 2012-05-11 20:26:11 +00:00
Ward Fisher
1070a41a20 Merged changes from trunk into branch 2012-05-10 23:11:46 +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
Ward Fisher
08c29d0f06 o ncdump.c: set PRINTF_EXPONENT_DIGITS=2 when in windows to control the number of digits in the exponent.
o *.sh: Added stanza's to ensure that srcdir is set if it's not already set.
2012-05-08 22:37:56 +00:00
Ward Fisher
9fc359f29b Added -b flag to diff in shell scripts, to ignore whitespace, newlines, carriage returns. 2012-05-08 19:36:27 +00:00
Russ Rew
4f6b3a04c4 Fix ncdump bug (NCF-169), not escaping characters special to CDL in enumeration labels. 2012-05-07 12:58:22 +00:00
Dennis Heimbigner
766b45b459 fix discovered bug in opaque data handling 2012-05-04 19:22:30 +00:00
Russ Rew
cc6f6486bc Fixed formatting on usage message 2012-05-01 22:17:59 +00:00
Russ Rew
c6f399c731 Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +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
Dennis Heimbigner
e29a6fb164 added list of configure flags to man4/install.doc 2012-04-13 02:41:00 +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
Dennis Heimbigner
7e27052f87 - Implemented diskless files for both netcdf classic and extended.
The in-memory files can be made persistent if nc_create is called with
  NC_DISKLESS|NC_WRITE flags set. Initial test case also included.
- Modified ncio mechanism to support
  multiple ncio packages; this is so we
  can have posixio and memio operating
  at the same time.
- cleanup up a bunch of lint issues (unused variables, etc).
2012-03-26 01:34:32 +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
Dennis Heimbigner
140666cd4c Conditional ncdump/tst_iter.sh on LARGE_FILE_TESTS 2012-03-15 20:50:28 +00:00
Dennis Heimbigner
99eef24bc2 - Fix NCF-158 to modify ncgen flag defaults.
- Fix NCF-157 to modify DAP code to support
  partial variable retrieval.
- Fix of NCF-154 to solve problem of ncgen
  improperly processing data lists for variables
  of size greater than 2**18 bytes.
- Fix ncgen processing of char variables that have
  multiple unlimited dimensions.
- Partly fix Jira issue: NCF-145 (vlen issues).
- Benchmark program nc_test4/tst_ar4_*) requires arguments
  and should only be invoked inside a shell
  script; fixed so that they terminate cleanly
  if invoked with no arguments.
- Fix the Doxygen processing so it will work
  with make distcheck.
- Begin switchover to using an alternative to ncio.
- Begin support for in-memory (diskless) files.
2012-03-14 23:26:48 +00:00
Russ Rew
458612a06e Fix man pages for ncdump and nccopy 2012-03-08 22:16:00 +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
f14cdec948 Provide better cleanup of tst_iter.sh 2012-03-08 18:13:08 +00:00
Dennis Heimbigner
2349c62d18 close Jira NCF-154 2012-03-07 23:38:51 +00:00
Russ Rew
6b075d6ab2 Fix bug for netCDF-4 files, where fill values are written by HDF5 even when NOFILL mode is set. Add to ncdump documentation note about handling embedded newlines in strings. 2012-02-15 22:21:47 +00:00
Dennis Heimbigner
ea1af11655 Resolve Lynton's vlen problems (partially) re: jira NCF-145 2012-02-14 00:25:32 +00:00
Dennis Heimbigner
6898930374 fix use of tail in run_back_comp_tests.sh 2012-02-05 19:34:03 +00:00
Russ Rew
9d2c29045c Fix Jira bug NCF-141 and finish bug fix for NCF-139 2012-01-30 22:10:23 +00:00
Dennis Heimbigner
1e1907e393 fix a bug in libdap2 handling of strings 2012-01-30 04:32:12 +00:00
Dennis Heimbigner
aebd11348a 1)Integrate the oc with improved performance 2012-01-29 18:56:29 +00:00
Dennis Heimbigner
ed6d25d562 premerge 2012-01-29 18:50:02 +00:00
Russ Rew
9d77c3b54d Fix nccopy bug described in Jira issue NCF-140 2012-01-19 17:37:15 +00:00
Russ Rew
c440495ff9 Fix nccopy bug, Jira NCF-139 2012-01-18 21:20:11 +00:00
Russ Rew
e7b2f2b4c6 Revert last change after discovering problem 2012-01-17 22:49:01 +00:00
Russ Rew
67304dc7e2 Fix Jira issue NCF-138, bad default chunksize for variables with only unlimited dimensions 2012-01-17 21:58:09 +00:00
Dennis Heimbigner
4d6c5f7676 remove extraneous file 2012-01-09 18:49:43 +00:00
Dennis Heimbigner
079c3a771c Extend ref_tst_vlen_data.cdl to include Appel examples 2012-01-09 18:49:15 +00:00
Dennis Heimbigner
95772ba2a8 fix build issues identied by Rew 2011-12-13 23:16:16 +00:00
Dennis Heimbigner
a8732c1320 Add test for character fillvalue bug 2011-12-13 04:16:52 +00:00
Dennis Heimbigner
66488a4773 add test for fix for Jira NCF-131 2011-12-13 03:08:56 +00:00
Russ Rew
5fdde5e399 Fix bug NCF-136, ncdump -c looping when dimensions inherited from parent group 2011-11-14 21:27:53 +00:00
Russ Rew
08112a46ad Resolve NCF-129, update documentation. 2011-09-26 16:25:10 +00:00
Russ Rew
97c954a859 Add -g option to ncdump and test it 2011-09-21 23:10:03 +00:00
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