Ward Fisher
1fe58bde2d
Added tst_netcdf4, tst_h_rdc0 to CMake build system.
2015-04-20 13:18:24 -06:00
Ward Fisher
88a012651a
Wired tst_nccopy4.sh into cmake.
2015-04-20 13:15:02 -06:00
Ward Fisher
c4511e2ed2
Wired fillbug into cmake.
2015-04-20 13:08:26 -06:00
dmh
f9edce92ed
make testauth be under the enable-auth-tests
2015-03-03 21:01:43 -07:00
dmh
06a11e51df
1. Allow for the user specified rc file via the env variable
...
NCRCFILE. Note that the value of this environment
variable should be the absolute path of the rc file, not
the path to its containing directory.
2015-03-03 20:17:27 -07:00
Ward Fisher
ae4d54bcc6
Added stray .nc file to CLEANFILES
2015-02-12 13:34:39 -07:00
Ward Fisher
e56c67a772
Added an assertion, although I'm not convinced it's strictly needed, it is for safety now. Will assess whether it can be reached (at a glance it's not reachable, but static analysis says it is) or not. Will update as needed.
2015-02-11 13:29:40 -07:00
Russ Rew
b56cd87284
fix array size in test program
2015-02-05 16:56:15 -07:00
Ward Fisher
3582812bf0
Added tst_bug324 to CMake-based builds, but it is failing for some reason. Will investigate shortly.
2015-02-04 14:11:20 -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
01793b4098
Reversed an edit made when working on Visual Studio/bash compatibility.
2015-02-03 12:39:41 -07:00
Ward Fisher
fc97546113
Updated nc-config.cmake.in to work with Windows-style paths. Further changes to get shell scripts running in Windows, when bash is available.
2015-02-02 14:46:51 -07:00
Ward Fisher
2d72b7ca7f
More work on getting the shell scripts working properly with cmake under MSYS.
2015-02-02 14:46:50 -07:00
Ward Fisher
f9d3718739
Updated shell script to work on Windows.
2015-02-02 14:46:50 -07:00
Ward Fisher
b1d3304bee
Removed a shell test when using visual studio. The test script manually invokes the compiler gcc.
2015-02-02 14:46:50 -07:00
Ward Fisher
33ec07444f
Removed non-portable byte-length checks. Left files being generated, as they may be required by other tests.
2015-02-02 14:46:50 -07:00
Ward Fisher
e3125a5ac9
Work progresses, but have encountered an issue. See https://github.com/Unidata/netcdf-c/issues/103 .
2015-02-02 14:46:50 -07:00
Ward Fisher
fe1b96cdd9
Updated CMakelists to remove debug, release subdirectories on Windows. Updating shell scripts to work with MSYS paths.
2015-02-02 14:46:50 -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
Russ Rew
0f17bc9792
Add test for fix of bug NCF-324, but don't wire it in to run yet
2015-01-30 14:04:50 -07:00
Bas Couwenberg
43fec3de42
Fix another hyphen-used-as-minus-sign issue in nccopy.1 man page.
...
Most of these issues were fixed in #101 , but the patch included in the Debian
package was updated afterwards to include this remaining issue.
2015-01-25 19:20:00 +01:00
Nico Schlömer
6d2b61ddb7
hyphens used as minus signs
2015-01-16 13:12:11 +01:00
Russ Rew
f16790b718
Add test CDL file and tst_nccopy4.sh test for fix of NCF-321
2015-01-03 17:18:14 -07: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
4eefcd4707
Typos and consistency fixes in docs
2014-12-29 14:22:26 -07:00
Russ Rew
9a60dc612f
Use short "-k" codes instead of deprecated version numbers for ncgen and nccopy tests
2014-12-28 22:42:05 -07:00
Russ Rew
e157810c90
make nccopy.1 more consistent with ncgen.1
2014-12-28 21:18:37 -07:00
Russ Rew
abce64d32e
Replace short format names to match new docs, fix comments
2014-12-17 09:56:16 -07:00
Russ Rew
40a7398b21
Added nccopy -kind_code documentation and deprecated -k format_number, need to do the same for ncgen
2014-12-13 19:50:21 -07:00
Russ Rew
d4ba81d6ff
Documentation changes for ncdump numeric format code options
2014-12-10 10:49:37 -07:00
Russ Rew
eaf8ef61e0
resolved conflict
2014-12-09 13:31:20 -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
dmh
31d15ec532
re: NCF-317
...
If the netCDF-C library is built with the
HDF5 library but without the HDF4 library and one attempts
to open an HDF4 file, an abort occurs rather than returning
a proper error code (NC_ENOTNC).
Fix is to modify dfile.c#NC_check_file_type to properly
#ifdef relevant tests.
2014-10-07 12:37:41 -06:00
Ward Fisher
85e8e7e945
Addressed man page syntax warnings reported in github issue 52, https://github.com/Unidata/netcdf-c/issues/52
2014-10-03 10:46:02 -06:00
Ward Fisher
21eaec9583
corrected an undefined value error identified by clang.
2014-10-02 12:43:27 -06:00
dmh
2e20b700af
Forgot to update cmake wrt to directory name changes
2014-09-19 12:43:39 -06:00
dmh
7e582ad3f2
re: Jira NCF-309
...
The code for handling character constants
in datalists in ncgen has some problems.
1. It failed on large constants
2. It did not handle e.g. var = 'a', 'b', ...
in the same way that ncgen3 did.
3. The code for generate.c and genchar.c needed
some refactoring to make it a little simpler
(but not simple).
2014-09-18 18:26:06 -06:00
Russ Rew
c5237736e4
For nccopy, added version info in usage printout.
2014-08-26 14:05:47 -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
3af9240acb
More cleaning up for release.
2014-08-25 16:39:45 -06:00
Ward Fisher
df8caaf1d5
Corrected an error with a missing reference file.
2014-08-25 14:32:05 -06:00
Ward Fisher
6c071be031
Corrected issues where functions were not available in Windows. Specifically strndup. Also accomodated an included needed for getcwd.
2014-08-07 17:03:27 -06:00
Russ Rew
720e4ea82c
Fixed bug NCF-310 (ncdump char vars with multiple unlimited dims).
...
Added associated tests and entry in RELEASE_NOTES.
2014-08-07 14:35:29 -06:00
dmh
cd2574ba7c
Change assertion failure to a error
2014-07-23 11:25:49 -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
d2e643429b
Changed invocation of cmake from absolute to relative.
2014-06-06 13:57:02 -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
Ward Fisher
cd30a9e570
Corrected several static analysis errors related to uninitialized variables.
2014-04-22 16:11:37 -06:00
Ward Fisher
733f6257b0
Updating cmake shared_linker_flags as suggested by Nico Schlomer: https://github.com/Unidata/netcdf-c/issues/46
...
Fixed indentation.
Updated .gitignore.
Added a macro to make it easy to check to see if the linker supports a particular flag. Debug builds now pass the -w1,--no-undefined if it is detected the linker supports it.
2014-04-02 15:54:05 -06:00
Ward Fisher
bb84fda8cf
Removed a couple of clang-reported potential dereferences of null/undefined pointers.
2014-03-31 09:56:39 -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
Ward Fisher
8d5d592a18
Added tst_bom.sh to EXTRA_DIST, fixing a failure in 'make dist'.
2014-03-13 10:33:03 -06:00
dmh
a1f8d0a761
turn on tst_auth
2014-03-10 16:40:52 -06:00
dmh
1b941d342d
1. Attempted to reduce the number of conversion errors
...
when -Wconversion is set. Fixed libdispatch, but
rest of netcdf remains to be done.
2014-03-09 15:51:45 -06:00
dmh
2bc36f2bc1
conflict resolution
2014-03-08 20:43:18 -07:00
dmh
a189b98b0b
1. Any test that references nctestserver/NC_findtestserver
...
should be under ENABLE_DAP_REMOTE_TESTS.
Fixed to make sure that this is so.
Also attempted to fix ncdap_test/CMakeLists.txt,
but probably got it wrong.
HT to Nico Schlomer.
2. Attempted to reduce the number of conversion errors
when -Wconversion is set. Fixed oc2, but
rest of netcdf remains to be done.
HT to Nico Schlomer.
3. When doing #2 , I discovered an error in ncgen.y
that has remained hidden. This required some other
test case fixes.
2014-03-08 20:41:30 -07:00
Russ Rew
cfae3cb196
Merge branch 'master' of https://github.com/Unidata/netcdf-c
2014-03-08 16:37:21 -07:00
Russ Rew
8bcd127084
Added execute bit to ncdump/tst_bom.sh script.
2014-03-08 16:35:43 -07:00
Ward Fisher
8f524289f8
Fixed issue in CMakeLists.txt related to how the 'bom' test executable was being built.
2014-03-08 16:06:13 -07:00
dmh
baade3e4fc
[NCF-293]
...
Allow .cdl files to have a leading utf-8 BOM.
Also add test.
2014-03-07 22:52:40 -07:00
dmh
e3545bf88d
1. Allow files to be opened by name multiple
...
times, but returning the same ncid.
2. Separate out the dap auth tests
and make them disabled by default.
3. turn of ncdap_test/test_varm3 until
we can find a copy of coads_climatology.nc
2014-03-07 12:04:38 -07: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
Quincey Koziol
b2dfacbcfa
Big clean up to type handling in libsrc4, which makes fill-values work
...
correctly for variables with string datatype, plus a few other minor changes.
2014-02-11 17:12:08 -06:00
Ward Fisher
9b0a98383a
Added CMakeLists.txt to missing Makefile.am files, so that CMake-based builds can be used on source packages generated by make dist
2014-02-06 11:32:32 -07: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
Ward Fisher
0032af978b
Added INQ_FORMAT_EXTENDED-related tests to the cmake build system (based on inclusion in autotools-based builds).
2014-01-16 13:14:49 -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
dmh
582410a407
[NCF-273]/HZY-708311
...
Add a new function called nc_inq_format_extended that
returns more detailed format information (vis-a-vis
nc_inq_format) about an open dataset.
Note that the netcdf API will present the file as if it had
the format specified by nc_inq_format. The true file
format, however, may not even be a netcdf file; it might be
DAP, HDF4, or PNETCDF, for example. This function returns
that true file type. It also returns the effective mode for
the file.
signature: nc_inq_format_extended(int ncid, int* formatp, int* modep)
where
* ncid is the NetCDF ID from a previous call to nc_open() or
nc_create().
* formatp is a pointer to a location for returned true format.
* modep is a pointer to a location for returned mode flags.
Refer to the actual list in the file netcdf.h to see the
currently defined set.
Also added test cases (tst_formatx*).
2013-12-22 12:53:20 -07:00
dmh
ea7c0fc91b
[NCF-280]/TLO-836022
...
Fix bug where leading backslash digit
in name was not being properly handled.
The reason was that I accidentally attemped to allow \x... and \0...
escapes in identifiers. This make identifiers
with leading escaped digits not work any more.
Also added test case.
2013-11-19 21:58:56 -07:00
dmh
cc95bd3d47
1. [NCF-276]/XXI-796914
...
Columbia server does not serve up proper
opendap DDS replies. The Dataset {...} name
changes depending on if the request has certain
kinds of constraints.
Code for a hack was not being used, so restore it.
The fix is to effectively ignore differences in
Dataset node names if the code is coming from
columbia.edu.
2. [NCF-278]
The ncgen code is improperly typing int64 integer constants
as uint64.
3. [NCF-279]
Empty string constants were not being properly
filled when their target array is length 1 or more.
2013-11-17 14:26:14 -07:00
Russ Rew
3327a3c2c9
Add reference file for ncdump -bc test
2013-11-13 13:45:20 -07:00
Russ Rew
90933c7070
Add ncdump brief annotation test using -bc option
2013-11-13 13:44:03 -07:00
Russ Rew
911bdab962
Fix for bug NCF-275, ncdump -b annotation
2013-11-13 11:03:18 -07:00
Russ Rew
8e18ede2fe
Fix full annotation bug described in NCF-275
2013-11-12 06:40:03 -07:00
dmh
850af2d435
[NCF-271]
...
Fix bug introduced by [NCF-267].
The bug was that octal constants that had
the highest bit set (e.g. '\200')
were not recognized as proper octal
constants. Fix was to keep as integer
until it was needed as an 8-bit byte.
2013-09-26 10:10:26 -06:00
dmh
10b0ac536f
[NCF-267]/SAI-630695
...
Add support for embedded NUL characters
in character arrays and added some test cases.
Note that embedded NULs in netcdf-4
string constants are still illegal. This is
because strings are not counted in the netcdf
API, so they are implicitly NUL terminated.
2013-09-23 17:11:59 -06:00
dmh
a4d3f8306c
add test cases
2013-09-23 17:11:24 -06:00
dmh
e7414e16d0
[NCF-265] again.
...
1. Updated the ncgen manual (ncgen.1)
to discuss handling of ambiguous
enumeration constant references.
2. Fixed the test case. It is currently
XFAIL'd until such time as ncdump
is modified to output properly
disambiguated enumeration constant
references.
2013-09-22 12:08:27 -06:00
dmh
06d91c3084
[NCF-265] again.
...
Added code to verify that enum constants
(and other constants) are consistent
with the type of the variable or
attribute to which they are assigned.
This addresses the ncdump failure.
2013-09-21 16:19:06 -06:00
dmh
c99058741a
[NCF-265]
...
Ncgen is unable to resolve
ambiguous references to an enum
constant when two different enums
have same econstant name.
Solved by allowing more specific
forms for econstant references.
1. /.../enumname.enumconstname
2. enumname.enumconstname
3. enumconstname
Case 1 is resolved by using the econstant
in the specific enum definition. If none is
found, an error is reported.
Case 2 is resolved by
1. finding an enclosing group with an
enum definition with the specified name
and containing the specified econstant.
If there are more than one, then an error is reported
2. finding all enum definitions in the dataset that have
the specified enum name and contain the specified
econstant. If more than one is found, then an error is reported.
If the above two methods fail, then report an error.
Case 3 is similar to case 2, but all enums, irrespective
of name are used if they contains the specified enum constant.
The ref_tst_econst.cdl test in ncdump is causing ncdump
to fail. So there may be yet some problem.
2013-09-20 20:43:09 -06:00
Ward Fisher
6a0978594c
Updating CMakeLists.txt to address RPATH problem on OSX.
2013-08-22 11:15:12 -06:00
Ward Fisher
a3ff1206f5
Modified Makefile.am to not remove ctest.c, ctest64.c. This may be reverted by for now leaving ctest.c, ctest64.c in source repository.
2013-08-07 16:31:13 -06:00
Ward Fisher
7f8453c8f4
Updating generate documentation to reference GitHub.
2013-08-07 16:13:18 -06:00
Ward Fisher
a90b386e0a
Refactored 'Constant' to 'NCConstant' in ncgen/ to avoid
...
reserved word collision on Windows.
Added tst_ncgen4_classic.sh to CMake-based builds.
2013-07-16 20:22:48 +00:00
Ward Fisher
07247f44b0
Fixed a couple of CMake related testing issues.
2013-07-11 16:50:51 +00:00
Russ Rew
f9dff9cee3
Fix make distcheck by getting right
2013-07-10 22:09:46 +00:00
Dennis Heimbigner
aa5e822273
added tst_h_scalar test
2013-07-10 21:19:05 +00:00
Russ Rew
758858e8b7
Forgot to add and commit yet another test program.
2013-07-10 21:07:53 +00:00
Russ Rew
e737bf33cb
Forgot to add and commit new test program.
2013-07-10 21:06:12 +00:00
Russ Rew
0fd1f0dde1
Define macro for NIL string value in ncdump/dumplib.h
2013-07-10 20:56:24 +00:00
Dennis Heimbigner
98a469b17a
Added NIL tests
2013-07-10 20:53:50 +00:00
Russ Rew
e4f9350c23
Quincey's fixes for NCF-56, "netcdf-4 can't read HDF5 scalar atts".
...
Also added ability capability for netCDF-4 to write and read NIL
values for string type attributes and variables, so these can be read
if used in HDF5 files.
Include are additions to CMakeLists files to reflect new tests.
2013-07-10 20:09:31 +00:00
Dennis Heimbigner
628aed80d9
1. synch changes with oc2.0
...
2. Fix a bug in ncgen to
catch a special case of a malformed
datalist.
2013-06-26 18:55:30 +00:00
Ward Fisher
33d3d06971
Added initial 'make dist', 'make distcheck' support to
...
CMake-based builds.
2013-06-03 16:42:04 +00:00
Russ Rew
920393b891
Update nccopy documentation for -v and -g options
2013-04-25 20:50:59 +00:00
Ward Fisher
67f96188ff
Merged latest from netCDF-cmake branch in preparation for 4.3.0 release.
2013-04-23 21:50:07 +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
Ward Fisher
f26a4a559a
Merged latest from netcdf-cmake branch.
...
Addressed several cmake-related issues, in terms of
building on Windows. Also added XGetopt.c to
EXTRA_dist in Makefile.am files.
2013-03-19 22:40:15 +00:00
Ward Fisher
ddf3c31bb0
Corrected a handful of syntax issues in CMake config files,
...
probably introduced more.
Added CMake-related files to Makefile.am files for inclusion
when creating a distribution package.
2013-02-20 23:28:28 +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
Dennis Heimbigner
c0a7749cf5
1) fix out of date ncgentab/ncgenyy files 2)fix Jira-ncf213 bug and add test case
2013-01-03 20:45:34 +00:00
Ward Fisher
21523c8582
Merged changes from cmake branch. oc2 changes are just
...
'file property' changes, not sure what exactly.
2012-12-20 21:50:45 +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
Ward Fisher
81280c7878
Merge from latest netcdf-cmake branch.
...
- Fixes for Windows.
- CMake-based changes (functionality, tests).
- Smattering of coverity-informed bug-fixes.
2012-12-05 18:35:42 +00:00
Russ Rew
0eef2f4c87
Add suffix support for nccopy -e option
2012-11-21 20:46:43 +00:00
Russ Rew
7e6ffcb334
Fix ncdump bug on 32-bit platforms
2012-11-20 21:49:28 +00:00
Ward Fisher
ff631c8156
Merged latest changes from cmake branch.
...
o Improved CMake support.
o Cmake module compatibility (netcdf-config*.cmake.in).
2012-11-19 21:43:12 +00:00
Russ Rew
920e248b61
Stop escaping '%' in CDL names
2012-11-19 21:14:41 +00:00
Russ Rew
8b63afda70
Fix portability bug, no arithmetic on void * pointers
2012-11-19 20:02:22 +00:00
Ward Fisher
109460c42e
Added the new test (tst_mud.sh) to the CMake build system.
2012-11-19 16:56:44 +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
Russ Rew
c34a4e674b
- Deleted --has-szlib option for nc-config, since that is controlled
...
by an HDF5 configure option, not a netCDF-4 configure option.
- Fixed bug in HDF5 strings test code.
- Minor fixes to nccopy man page documentation.
- Minor fixes to Fortran-90 texinfo docs, since we don't have doxygen
docs for Fortran yet: just using "Fortran" instead of "fortran" or
"FORTRAN".
2012-10-31 21:31:07 +00:00
Ward Fisher
36ccdd3e67
Corrected for a mix of debug, release libraries for visual studio builds.
2012-10-24 19:46:24 +00:00
Ward Fisher
057701e1fa
Added man pages to 'make install'
2012-10-17 21:14:30 +00:00
Ward Fisher
7a226dd3f1
Merging the win_netcdf branch into the trunk.
2012-09-27 22:50:41 +00:00
Ward Fisher
5259123089
2012-09-24 20:48:12 +00:00
Ward Fisher
af778e6a07
Fixed infinite declaration in a test to work across Windows, Linux, OSX.
2012-09-24 15:49:44 +00:00
Ward Fisher
0d221a4e20
2012-09-20 21:18:20 +00:00
Ward Fisher
6e2d236b02
2012-09-19 21:32:28 +00:00
Ward Fisher
6504c2b093
2012-09-14 21:53:08 +00:00
Ward Fisher
1a72ec6adb
2012-09-14 21:38:46 +00:00
Ward Fisher
c271c81ac4
2012-09-14 21:35:25 +00:00
Ward Fisher
a1fda0f885
2012-09-13 22:07:35 +00:00
Ward Fisher
347a883081
2012-09-13 20:41:54 +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
53843f134e
2012-09-10 22:37:38 +00:00
Ward Fisher
18d507c00d
Changed 'boolean' to 'boolen' to avoid a name conflict under windows.
2012-09-10 22:07:04 +00:00
Ward Fisher
f820e5e5ee
2012-09-10 21:19:57 +00:00
Ward Fisher
31cfdd5910
Added 'examples' directory to CMake
2012-08-28 22:31:07 +00:00
Ward Fisher
9bb179bba1
2012-08-27 21:49:09 +00:00
Ward Fisher
04e61d5894
Added MSVC-compatibility items.
2012-08-27 21:19:25 +00:00
Ward Fisher
235fc6bb13
Merged latest trunk into branch
2012-08-22 19:52:24 +00:00
Russ Rew
24a1cd0718
Fix test of H5Tget_size() return so it can actually detect an error.
...
Remove some dead code. Fix declaration of X_INT_MIN in tests.h.
2012-08-22 14:57:30 +00:00
Ward Fisher
58035ff8f2
Added new tests, CMake functionality.
2012-08-21 20:08:53 +00:00
Ward Fisher
e8453be1e5
Merged from trunk into branch
2012-08-20 18:30:04 +00:00
Russ Rew
4d6f11288b
Fix Coverity complaint about passing big parameter by value
2012-08-17 22:00:36 +00:00
Ward Fisher
6da7859b0b
Added changes related to documentation generation.
2012-08-17 21:37:40 +00:00
Ward Fisher
61c0ca0bbd
Corrected a few tests
2012-08-16 22:51:45 +00:00
Russ Rew
8d53da4826
Fixed bug "adding a bad _FillValue" bug (NCF-190). Fixed minor bugs
...
reported by static analysis, including memory leak in ncdump, missing
size_t cast for chunk cache. Fixed various doc problems, including
byte vs. char issues, missing NC_UBYTE in type list, needed link to
"Building with Windows" page.
2012-08-16 18:31:48 +00:00
Ward Fisher
ffb7dc6f0d
Merged latest trunk into branch
2012-08-13 19:57:51 +00:00
Ward Fisher
9b3d24cbc0
2012-08-10 21:44:00 +00:00
Ward Fisher
081f6eae22
Update CMake scripts
2012-08-10 19:31:45 +00:00
Ward Fisher
85f6c4cc08
Additional changes in support of CMake, CTest
2012-08-09 22:54:19 +00:00
Ward Fisher
14619ec4c4
2012-08-09 18:40:41 +00:00
Ward Fisher
0607b62375
Added coverage test flags to CMakeLists.txt files.
2012-08-09 17:07:41 +00:00
Ward Fisher
a6c95c65b1
2012-08-08 19:45:38 +00:00
Ward Fisher
77bd943296
2012-08-08 17:24:32 +00:00
Ward Fisher
1085abab25
Updated ctest-related arguments to explicitely invoke a shell.
2012-08-08 16:25:37 +00:00
Ward Fisher
8ef94646a1
Corrected a few windows-related errors.
2012-08-08 16:04:11 +00:00
Ward Fisher
359eb6ba23
Going back and adding additional tests to CMake config files.
2012-08-07 22:58:15 +00:00
Ward Fisher
0ee2fba307
Expanded ctest functionality.
2012-08-07 20:21:44 +00:00
Ward Fisher
64365a8ad7
CMake-related updated.
2012-08-06 16:57:29 +00:00
Ward Fisher
751c41928a
Additional CMake changes.
2012-08-03 22:24:29 +00:00
Russ Rew
29d2ecbe68
Fix NCF-186, ncdump bug not escaping quotes and newlines in string data
2012-08-03 04:40:06 +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
Dennis Heimbigner
42999f4c7c
move from oc1.0 to oc2.0; create new dir oc2
2012-07-31 20:34:13 +00:00
Ward Fisher
190fb4636b
Corrected a potential memory related error caused when a null pointer was free'd.
2012-07-26 16:43:32 +00:00
Dennis Heimbigner
b083b9e758
fix == in shell scripts
2012-07-17 20:13:17 +00:00
Russ Rew
0a2f05a10a
Fix trivial ncdump bug, now reports an error when -j option specified.
2012-06-27 15:35:06 +00:00
Russ Rew
3e37e69b8e
Fixed ncdump to return failure status when unknown option specified.
...
Removed extra netcdf_par.h include file.
2012-06-27 15:03:19 +00:00
Ward Fisher
4a7ddb161b
o Added (srcdir) to path in Makefile.am for 2 files used in 'make check'. This
...
change allows for concurrent builds; e.g.
'mkdir build; cd build; ../configure'.
o Modified tst_netcdf4_4.sh to work with builds outside the source tree.
2012-06-18 16:56:45 +00:00
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