Quincey Koziol
5ccb8a24b5
Merge branch 'master' into ncf-177
2013-11-30 23:40:26 -06:00
Quincey Koziol
e66e6e2b3a
Merge remote-tracking branch 'upstream/master'
2013-11-30 23:24:44 -06:00
Quincey Koziol
e1fc13b215
Many changes to address NCF-177 (renaming dimensions and variables). Also
...
many cleanups to fix compiler warnings, streamline iteration over objects
in HDF5 file when opening the file, and generally straightening out the code
to be cleaner and simpler.
Tested on Mac OS/X with gcc 4.8 and OpenMPI (which uses clang).
2013-11-30 23:20:28 -06:00
dmh
2bc308432d
sync with oc2.0
2013-11-14 15:13:20 -07:00
Russ Rew
751ac82ef7
For chunk computations that might overflow ints, use double instead of
...
float.
2013-10-17 14:25:39 -06:00
Ward Fisher
23cf133b39
Addressed Coverity issues 711911, 1102823
2013-10-07 16:25:30 -06:00
Quincey Koziol
d9069aaeaa
More progress toward fixing NCF-177.
2013-09-28 12:40:21 -05:00
Russ Rew
68c8303743
Quincey's patch for NCF-269 parallel I/O bug.
2013-09-16 20:06:54 -06:00
Quincey Koziol
a5d23868b7
Merge branch 'master' into ncf-177
2013-09-14 13:22:12 -05:00
Quincey Koziol
7a4479be6b
Minor cleanups to reduce warnings in headers, and switch from MPI_BYTE to MPI_INT
...
for MPI_Allreduce() call.
2013-09-14 13:19:58 -05:00
Ward Fisher
c238435853
Added stanza in nc4file.c, read_var, to avoid crashes when reading an h5 file with layout == "H5D_COMPACT".
2013-09-09 15:03:03 -06:00
Quincey Koziol
e808067582
Merge branch 'master' into ncf-177
2013-08-24 14:35:21 -05:00
Quincey Koziol
3cdce9e3af
Correct error when a parallel application writes different amounts of data to
...
an unlimited-dimension variable, and different processes don't agree on the
whether to extend the underlying HDF5 dataset, or don't agree on the amount
to extend the dataset.
2013-08-18 20:45:17 -05:00
Quincey Koziol
a7ecaeb327
Work in progress on NCF-177.
2013-08-17 12:53:29 -05:00
Ward Fisher
f43bf8f1da
Addressed a handful of issues identified by
...
Coverity static analysis.
2013-08-05 20:36:33 +00:00
Dennis Heimbigner
05369372f7
Debugged previously added
...
code to support group rename.
Also added a simple test case.
2013-07-21 01:08:39 +00:00
Dennis Heimbigner
b85d3568ec
Added the necessary code to support
...
group renaming. The primary API
is 'nc_rename_grp(int grpid, const char* name)'.
No test cases provided yet.
This also required adding a rename_grp entry
to the dispatch tables.
2013-07-19 21:48:37 +00:00
Ward Fisher
1c23ec06b8
Merging latest from netcdf-cmake branch. Includes a handful
...
of fixes for coverity-identified errors.
2013-07-19 21:32:27 +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
Russ Rew
6cd8fca60d
Quincey's fixes for NCF-250, netCDF-4 parallel independent access with
...
unlimited dimension hanging. Extending the size of an unlimited
dimension in HDF5 must be a collective operation, so now an error is
returned if trying to extend in independent access mode.
Quincey's bug fixes for parallel build portability, particularly
OpenMPI on MacOS-X.
2013-07-08 21:31:13 +00:00
Russ Rew
58a63708cc
Fix contributed by Nath Gopalaswamy to large file problem reading
...
netCDF classic or 64-bit offset files that have a UINT32_MAX flag for
large last record size of a variable that has values larger than 1
byte. This problem had previously been fixed for *writing* such data,
but was only tested with an ncbyte variable. Fixed test to
demonstrate problem and the fix.
More updates to chunking documentation, cosmetic fixes for some
"--option=" documentation that doxygen turns into mdash.
2013-06-25 17:04:10 +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
3152893da0
Updated documentation on default chunk size for unlimited dimensions.
...
Removed old heuristic for dims several orders of magnitude smaller
than the max dimension.
2013-05-28 15:34:55 +00:00
Dennis Heimbigner
de34ed2d5b
merge from netcdf/trunk prior to merge back to trunk
2013-05-11 19:37:38 +00:00
Dennis Heimbigner
c583f91992
merge with trunk and fix conflicts
2013-05-10 17:04:28 +00:00
Dennis Heimbigner
4070bcf946
Fix (again) jira NCF-248.
...
So, it turns out that just freeing
the nc4_info is not enough;
The root group must also be reclaimed.
So, it appears the best approach
is to invoke an abort on the
failed file.
2013-04-24 22:11:44 +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
Dennis Heimbigner
e960416761
Fix JIRA NCF-248
2013-04-23 18:02:35 +00:00
Russ Rew
3a87936711
New RELEASE_NOTES entry and a couple of Coverity fixes.
2013-04-23 16:27:28 +00:00
Russ Rew
6ebc98d254
Fix NCF-247 bug, and add test for bug fix.
2013-04-22 22:34:21 +00:00
Ward Fisher
b113f6f8b6
Merged a handful of changes from netcdf-cmake branch.
...
Addressed the following coverity issues:
711762
711763
711766
711788
711933
711934
711935
2013-04-16 23:02:54 +00:00
Ward Fisher
b70e1d74af
Merged latest from cmake development branch.
2013-04-16 17:23:14 +00:00
Russ Rew
8b3a9505ae
Revert nc4file.c to r3113, because r3123 version broke --enable-extra-tests build
2013-04-08 19:33:30 +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
9f187a1484
Merged the fix for NCF-29 from Quincy into the trunk.
2013-03-26 18:57:26 +00:00
Dennis Heimbigner
c659633d2e
merge from trunk
2013-03-26 16:45:02 +00:00
Dennis Heimbigner
4b7817e69e
Return EACCES instead of NC_EMETADATA when failing to create an HDF5 file
2013-03-26 16:31:56 +00:00
Russ Rew
b36dc5b5fb
Fix NCF-244 bug for case where using different order for defining
...
coordinate variables and their associated dimensions occurs in any
subgroup, rather than just the root group. If this occurs, the
variable attribute "_Netcdf4Dimid" is created for every dimension
scale.
Also add a test for this bug fix in tst_dims3.nc, based on Pedro
Vicente's demo.
2013-03-26 15:14:19 +00:00
Russ Rew
2071ca9bf3
Fixed NCF-244, a netCDF-4 bug resulting in two dimensions with the same dimension ID
2013-03-25 18:06:19 +00:00
Dennis Heimbigner
4e41843740
1) fix some minor bugs when pnetcdf is enabled 2)Comment out some apparently unused procedures
2013-03-25 17:12:50 +00:00
Dennis Heimbigner
8d993d58d8
undo a conversion to static
2013-03-25 16:29:19 +00:00
Dennis Heimbigner
9b4db7a039
Make some things static that do not need to be externally visible
2013-03-24 17:33:17 +00:00
Dennis Heimbigner
dea3c726c8
merge trunk into this branch
2013-03-15 20:31:07 +00:00
Ward Fisher
6096f6b43b
Merged changes from CMake branch.
...
Addressed a handful of memory leaks
reported by Coverity.
2013-03-14 22:49:21 +00:00
Dennis Heimbigner
9eaac2a595
Apply Wei-Keng's fix
...
for JIRA issue NCF-241.
This is only temporary
until I can make pnetcdf
operate as a separate dispatch table.
Also, fix nc_test4/tst_pnetcdf
to open with nc_open_par;
this is necessary because a pnetcdf
created file cannot be opened
as a netcdf classic file.
2013-03-13 17:34:47 +00:00
Koziol
0f29dd60c0
Description:
...
Fix Jira issue NCF-29 (https://bugtracking.unidata.ucar.edu/browse/NCF-29 ):
making the netCDF-4 library ignore HDF5 datasets and attributes which have
datatypes (such as references) that it doesn't understand.
Tested on:
Mac OSX/64 10.8.2 (amazon) w/--enable-netcdf-4 --enable-extra-tests --enable-extra-example-tests
--disable-shared --enable-logging
2013-03-01 08:10:28 +00:00
Ward Fisher
57084316de
Merging changes from netCDF branch.
2013-02-28 21:50:55 +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
Ward Fisher
5703c0979e
Corrected an issue I introduced which broke a particular parallel test.
2013-02-12 21:27:52 +00:00
Russ Rew
7a3f42974c
Fix bug NCF-222, scalar non-coordinate variables with same name as dimensions. (Previous commit was just test, this is really the fix.
2013-02-04 15:49:52 +00:00
Russ Rew
fab1c8675c
Fix NCF-217, a bug depending on order of calls to netCDF-4 functions
2013-02-01 17:38:26 +00:00
Ward Fisher
71a30406f7
Corrected 2 windows-specific errors when using Visual Studio:
...
1. In nc4hdf.c, had a variable declaration located such
that Visual Studio complained and threw an error. Moved
to head of function.
2. Visual Studio was complaining about variable declarations
being made after OCVERIFY/OCDEREF macros.
2013-01-29 23:33:59 +00:00
Ward Fisher
c20baac22b
Removed dependency on NC_MAX_DIMS from libsrc4 files.
...
Improved HDF4 suport in CMakeLists.txt
Remaining files were not changed, but svn picks up
'property changes' on them.
2013-01-28 19:58:06 +00:00
Ward Fisher
19dcece866
Merged latest trunk, addressed NC_MAX_DIMS dependence in libsrc4
2013-01-28 18:31:02 +00:00
Ward Fisher
fae7d90194
Removing reliance on NC_MAX_VAR_DIMS
2013-01-22 20:59:39 +00:00
Ward Fisher
23647a6910
2013-01-22 20:37:23 +00:00
Ward Fisher
1a77185d5e
2013-01-22 19:47:46 +00:00
Dennis Heimbigner
0d8c0b9276
more pnetcdf fixes
2013-01-18 02:25:12 +00:00
Ward Fisher
426c1508a3
2013-01-16 21:14:29 +00:00
Ward Fisher
91188cea7a
Merging CMake branch into trunk. Changes include:
...
CMake related changes in CMakeLists.txt files,
cmake_config.h.in. Other changes relate to
Windows-specific issues, and changes made
when regenerating generated source files.
2013-01-15 22:43:09 +00:00
Ward Fisher
4a6b93f3ab
A test from netcdf-cmake branch made its way into the trunk;
...
corrected.
2013-01-15 19:48:12 +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
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
Dennis Heimbigner
adbe2ba5f1
extend r2822 to work when logging is enabled
2012-12-18 19:44:39 +00:00
Ward Fisher
7b91248723
Merged changes from netcdf-branch.
...
o Changed variable names 'typeid' to 'typeid1' to avoid a namespace conflict
in visual studio.
o Cleaned up a handful of warnings in Visual Studio.
o Addressed a few Coverity-discovered issuesl
o Made changes to CMake-based builds.
2012-12-13 22:09:41 +00:00
Dennis Heimbigner
635a03f2f7
It turns out that when I converted the code
...
to keep the NC structure pure and independent
of any file format, I neglected to check with
--enable-hdf4. These changes appear to fix that
problem.
2012-12-13 18:22:11 +00:00
Dennis Heimbigner
5f2eb8afbf
Fix a number of potential problems by changing calls to nc_XXX to NC3/4_XXX
2012-12-12 20:05:06 +00:00
Ward Fisher
cf0d0b54f2
Merged latest changes from cmake branch. Fixed a test file, and changed a deallocation call to avoid throwing an error on Windows related to cross-dll memory-management.
2012-12-07 23:21:27 +00:00
Ward Fisher
85382f21bc
Fixed a handful of issues identified by Coverity.
2012-12-06 00:06:32 +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
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
afa67452f6
Took some time to address a handful of errors identified by Coverity.
...
Primarily focused on memory errors falling into a couple different types:
1) Static overrun errors.
2) Dereference uninitialized memory errors.
make distcheck works after applying these fixes, and coverity no longer sees an issue, so hopefully they are properly resolved.
2012-11-14 18:24:45 +00:00
Ward Fisher
45f77090a1
Addressed a handful of minor 'fixed-length buffer overrun'
...
errors identified by Coverity. The fixes involved replacing calls
to strcpy, strcat with strncpy, strncat.
2012-10-31 21:31:47 +00:00
Ward Fisher
7a226dd3f1
Merging the win_netcdf branch into the trunk.
2012-09-27 22:50:41 +00:00
Ward Fisher
f2d2ddf435
2012-09-26 20:30:19 +00:00
Ward Fisher
98675a8047
Merged with latest trunk.
2012-09-26 17:08:23 +00:00
Russ Rew
a92c7c98a0
Fixed DOS line endings in source file.
...
Fixed minor memory leak found by Coverity.
Fixed misleading error message in configure.
2012-09-25 21:48:14 +00:00
Ward Fisher
e55d002dbc
Merged Dennis' changes from trunk.
2012-09-06 21:15:37 +00:00
Dennis Heimbigner
5ca78309cc
The effect of this change is to make the struct NC structure
...
contain as little file-type specific info as possible. It
modifies especially libsrc so that all of the netcdf-3 data
that used to be in struct NC is now kept in a separate chunk
of data pointed to by the struct NC. This makes all of
current protocols consistent: netcdf-3, netcdf-4, and dap.
2012-09-06 19:44:03 +00:00
Ward Fisher
7ef113df5f
2012-08-24 18:24:58 +00:00
Russ Rew
eda91aa9cf
Enhanced netcdf-4 to be able to deal with optional user area data
...
block at the front of some HDF5 files (NCF-28). Also fixed some minor
typos in doxygen blocks in netcdf.h.
2012-08-22 21:53:06 +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
e8453be1e5
Merged from trunk into branch
2012-08-20 18:30:04 +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
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
05cde40552
2012-08-08 22:31:28 +00:00
Ward Fisher
0ee2fba307
Expanded ctest functionality.
2012-08-07 20:21:44 +00:00
Ward Fisher
0d90326575
Integrated latest changes to trunk, added preliminary CPack support.
2012-08-02 22:56:57 +00:00
Ward Fisher
7163dc49d8
Changed a few dangling checks for H5F_LIBVER_18 to H5F_LIBVER_LATEST. These were causing compile failures on some versions of Ubuntu (10.10, 11.??)
2012-08-01 20:57:23 +00:00
Ward Fisher
1af2b768b0
Merged changes from trunk (mainly Dennis' oc2 inclusion).
2012-07-31 22:04:25 +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
71075cee2e
Additional changes in support of CMake.
2012-07-18 21:12:58 +00:00
Ward Fisher
b1faefede0
More changes related to CMake support.
2012-07-17 20:50:43 +00:00
Ward Fisher
2dc39563cc
Changes in suport of CMake
2012-07-16 22:31:35 +00:00
Russ Rew
dbaf62f5e6
Updated some links in Doxygen version of user guide. Fixed some
...
range_error checks in netCDF-4 type conversion code. Made netCDF
attribute tests with type conversion more comprehensive and stringent,
fixing bugs identified with better tests. Changed a test in
nc_test/tst_atts.c to use netCDF-3 file instead of netCDF-4 file,
because that directory is supposed to be for tests that work with
--disable-netcdf-4. Added test demonstrating NCF-171 bug on 32-bit
platforms, only run when configured with --enable-extra-tests.
2012-05-24 16:29:22 +00:00
Dennis Heimbigner
e42d7d7f61
fix bug in opaque parsing
2012-05-05 22:31:24 +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
Dennis Heimbigner
5536bccee1
allow NC_DISKLESS with nc_open() to operate as a in-memory cache
2012-04-08 22:47:38 +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
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
07a5f4fd1a
Peter Cao's valgrind fixes for nc4file.c
2012-03-14 03:48:30 +00:00
Russ Rew
d412686ec3
Fix Jeff Whittaker's bug NCF-156
2012-03-09 19:19:43 +00:00
Russ Rew
22beaf407c
Fix bug with scalar coordinate variables in netCDF-4 files, causing failure with --enable-extra-tests, [NCF-149]
2012-03-01 02:06:14 +00:00
Russ Rew
75e00f3341
Fix bug triggered by --enable-logging.
2012-02-27 23:00:07 +00:00
Russ Rew
fbbdeccc2e
Fix performance bug for many variables or types in a group
2012-02-21 13:46:22 +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
Russ Rew
37b6fbe959
Fix Jira bug NCF-143, found by Wei Huang. Also apply previous NCF-141 fix for nc_get_vara() to nc_put_vara() as well.
2012-02-01 23:52:10 +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
aebd11348a
1)Integrate the oc with improved performance
2012-01-29 18:56:29 +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
Ed Hartnett
9e30d5d3be
some windows changes
2011-10-26 19:18:09 +00:00
Ed Hartnett
7b47adf3a1
removed executable permissions from all code files
2011-10-04 16:05:11 +00:00
Ed Hartnett
59af73d256
removing executable flag
2011-10-04 15:59:40 +00:00
Ed Hartnett
ff498d2c3a
changed permissions
2011-09-26 13:46:43 +00:00
Ed Hartnett
8945e92708
fixed some missing config.h problems
2011-09-26 10:14:55 +00:00
Dennis Heimbigner
732fbff7ce
2011-09-20 17:30:02 +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
Ed Hartnett
d58c18c623
added diskless files API, subsetting not working, classic model only
2011-08-16 21:04:33 +00:00
Ed Hartnett
9212be6606
took out fortran API, made some documentation changes
2011-08-11 17:54:34 +00:00
Ed Hartnett
2b2bcded42
removed cxx and cxx4, bumped version to 4.2, and fixed up documentation some
2011-08-10 18:00:32 +00:00
Ed Hartnett
b377906536
beginning of conversion to doxygen
2011-07-11 16:04:49 +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
Ed Hartnett
e7b3fa19c1
removed mention of pnetcdf and hdf4 link options as they are handled by configure
2011-05-31 15:03:31 +00:00
Ed Hartnett
d469f39e3c
workaround for HDF5 dimscale issue
2011-05-19 19:22:43 +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
2f4cf5382e
took out ldflags in Makefile.am files
2011-05-11 17:09:12 +00:00
Ed Hartnett
8559e6f976
added test that activates classic library bug
2011-04-25 17:09:14 +00:00
Ed Hartnett
882b48f017
fixed HDF5 object versioning so that all netCDF-4 files can be read by HDF5-1.8.x releases
2011-04-25 11:10:24 +00:00
Dennis Heimbigner
0b477e29cc
rebuilt dap constraints
2011-04-16 20:56:36 +00:00
Ed Hartnett
0259975e26
changes in response to user feedback to rc1, plus cleaned up H5 test dependancy
2011-03-21 15:45:17 +00:00
Ed Hartnett
e5c8e924e2
more tests for Jeff W.
2011-03-21 09:47:37 +00:00
Ed Hartnett
d334706ffe
added math library
2011-03-18 12:20:13 +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
Ed Hartnett
ff3abf1427
fixed some confusion about create mode flag NC_CLASSIC_MODEL
2011-02-23 23:39:25 +00:00
Dennis Heimbigner
bc5abe766e
fixed opendap perf. bug for nc_get_vars
2011-02-23 17:37:11 +00:00
Ed Hartnett
ca6b34a92c
changes to only run tst_many_atts when benchmarks are turned on, and to fix minor bug: handling of a scalar dimension and scalar var of same name
2011-02-23 17:33:11 +00:00
Ed Hartnett
32735883cd
fixed bug that was showing up in buddy extra-tests
2011-02-22 19:27:20 +00:00
Ed Hartnett
b9358f5890
updated (and fixed) shared library version numbers for all netcdf libraries
2011-02-17 12:58:08 +00:00
Ed Hartnett
2f9339e3af
fixed integer overflow for ginormous data sizes on 32-bit build
2011-02-15 15:47:10 +00:00
Ed Hartnett
8d91b49ad2
added overhang (not hangover) calculations to default chunksizes
2011-02-14 19:15:36 +00:00
Ed Hartnett
3340b641fd
fixed bug that allowed for zero chunksize when one small, and two giant dimension sizes are used
2011-02-14 16:49:05 +00:00
Ed Hartnett
6b0feecb05
some improvements to chunking algorithm
2011-02-09 12:23:09 +00:00
Ed Hartnett
d6a3fb724c
fix bug in checking magnitudes of dims when determining default chunk sizes, in the case of unlimited dimensions.
2011-02-08 19:35:33 +00:00
Ed Hartnett
ca11ffde62
fixed test of wasted space for default chunking
2011-02-04 20:22:34 +00:00
Ed Hartnett
5da7f43a3f
more changes for extreme dimension sizes and default chunking
2011-02-04 20:00:22 +00:00
Ed Hartnett
b47678006e
changed default chunksize calculations so they will not have integer overflows, even on 32-bit machines with huge datasets
2011-02-04 17:17:08 +00:00
Ed Hartnett
ba1b41b160
more fixes for handling default chunks sizes with very large variables
2011-02-03 17:41:02 +00:00
Ed Hartnett
c03aabe083
fixed default chunking for some really big dimensions
2011-02-03 16:50:51 +00:00
Ed Hartnett
668ed2e0a5
fixed chunking bug: default chunks must always be under 4GB in size
2011-02-02 14:09:15 +00:00
Ed Hartnett
bb07a21f1f
added chunksize test code from Russ to help develop better default chunks
2011-01-31 22:15:37 +00:00
Ed Hartnett
1d86c471a6
fixed def_var_chunking bug when chunksizes are not provided, but chunking is turned on
2011-01-31 21:30:39 +00:00
Ed Hartnett
cdd254c983
added -lm to please fedore netcdf package maintainer
2011-01-31 11:40:56 +00:00
Ed Hartnett
2ebb1cbafc
fixed problems with parallel I/O of classic files with pnetcdf library
2011-01-28 12:45:52 +00:00
Ed Hartnett
14795ffaf1
fixed memory leak when adding to unlimited dimension
2011-01-12 23:18:32 +00:00
Ed Hartnett
52d1a2b74e
init data space to shut up valgrind
2011-01-04 13:26:55 +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
Ed Hartnett
94210cb492
fixed HDF4 build memory problem
2010-12-06 16:27:08 +00:00
Ed Hartnett
d66a45f05c
optimized way special dimid is written or updated.
2010-12-03 00:03:48 +00:00
Ed Hartnett
edc5c64e54
optimized way special dimid is searched for when var is opened.
2010-12-02 23:52:53 +00:00
Ed Hartnett
184b2d0945
freed new path string for nc3 and nc4 files
2010-12-01 18:21:47 +00:00
Ed Hartnett
03f63a5f1c
many changes for memory fixes
2010-11-29 22:23:16 +00:00
Dennis Heimbigner
c96133ded7
removed extraneous global variable
2010-11-24 23:12:20 +00:00
Ed Hartnett
35b0c5422d
got benchmark build working agian
2010-11-12 18:09:12 +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
Ed Hartnett
2a88503f52
added missing file
2010-10-14 11:07:53 +00:00
Ed Hartnett
a658960034
added more valgrind testing
2010-10-13 22:53:25 +00:00
Ed Hartnett
c9033810e1
added many valgrind tests in libsrc4, fixed some memory problems
2010-10-12 09:12:08 +00:00
Ed Hartnett
d8cdc2085d
more testing of HDF5 vlen type
2010-10-11 14:52:29 +00:00
Ed Hartnett
65c54d88f5
fixed some AIX portability issues, added tests, especially valgrind tests
2010-10-08 18:54:53 +00:00
Russ Rew
0a26928f44
test both for fill-value and non fill-value
2010-10-06 16:28:33 +00:00
Ed Hartnett
60a6253832
fixed NC_SHORT conversion bug
2010-10-06 15:50:42 +00:00
Russ Rew
8416eb3be2
clean up test for USHORT conversions bug fix
2010-10-05 22:11:18 +00:00
Russ Rew
c9956d3674
provide test for USHORT conversions bug fix
2010-10-05 22:04:34 +00:00
Russ Rew
cad6e425e2
fix bug with USHORT conversions
2010-10-05 17:24:58 +00:00
Ed Hartnett
105fe5fed1
fixed extra-test bug, return code from nc_inq_var_* functions with bad ncids, bumped version to beta2
2010-09-24 15:55:54 +00:00
Ed Hartnett
d53c6bdcfc
fixed bug with nf90_inquire_variable returning range error because of chunksizes for a contiguous variable
2010-09-22 14:25:42 +00:00
Ed Hartnett
c6fcf09bc6
missing file added
2010-09-22 13:50:32 +00:00
Ed Hartnett
54297ac014
changed way that netcdf-4 scans HDF5 file on open for big performance boost
2010-09-22 13:38:15 +00:00
Ed Hartnett
e9ab6a9157
fixed bug in HDF5-only test, in which chunk sizes were not being set
2010-09-16 14:23:43 +00:00
Ed Hartnett
bf85289d71
commented out H5close call
2010-09-11 16:19:13 +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
9bc3bd538c
Undoing change committed in r400
2010-08-27 21:57:40 +00:00
Russ Rew
1f39119f8f
Ignore attempt to compress scalar variables, instead of returning an error. Add compression and shuffling options, option to fix unlimited dimensions.
2010-08-27 21:02:52 +00:00
Ed Hartnett
a27fd4390c
added opendap memory test
2010-08-20 17:20:32 +00:00
Ed Hartnett
469731fd88
inq path works for netcdf-4
2010-08-19 18:15:48 +00:00
Ed Hartnett
1aedb82327
fixed some memory problems, more progress towards nc_inq_path
2010-08-19 17:37:29 +00:00
Ed Hartnett
a0e1b037e5
added nc_inq_path in dispatch tables
2010-08-18 15:11:17 +00:00
Dennis Heimbigner
dd4fe6d25c
dispatch.h->ncdispatch.h to avoid visualstudio filename conflict
2010-08-05 02:44:59 +00:00
Dennis Heimbigner
6edff3f964
cleanup pre-dispatch stuff
2010-07-30 22:16:15 +00:00
Dennis Heimbigner
c5cb1104b7
removed USE_DISPATCH and most uses of nc3 from libsrc4
2010-07-30 19:20:22 +00:00
Dennis Heimbigner
32b819ada8
add nc_default_format support
2010-07-22 21:50:51 +00:00
Ed Hartnett
45a6f02d7c
some changes to get build working on bluefire
2010-07-09 20:57:09 +00:00
Ed Hartnett
0c0576862d
fix for out of order dimensions after enddef/redef, then definition of coordinate variables
2010-07-08 13:39:47 +00:00
Ed Hartnett
96970bba9e
fixed HDF4 problem with allocated metadata storage
2010-07-06 14:56:28 +00:00
Ed Hartnett
a106e959bc
removed more memory use for netcdf-4 performance
2010-07-01 16:02:10 +00:00
Ed Hartnett
8131df9f40
cleaned up memory use in enums and compound types and variables
2010-07-01 15:51:19 +00:00
Ed Hartnett
eb9f666352
reduced memory use for dimensions in netcdf-4
2010-07-01 13:36:41 +00:00
Ed Hartnett
1d5bbb7cfa
reduced memory use of type structs for netcdf-4
2010-07-01 13:17:54 +00:00
Ed Hartnett
ad5466af24
reduced memory use for attributes
2010-07-01 13:08:28 +00:00
Ed Hartnett
bc6c5a071b
took out more per-variable memory for netCDF-4 files
2010-07-01 12:52:44 +00:00
Ed Hartnett
0e855e0dc5
more changes to make netcdf-4 use less memory per variable
2010-07-01 11:39:34 +00:00
Ed Hartnett
2ca9240913
removed more memory hogging arrays from NC_VAR_INFO_T to improve netcdf-4 memory performance
2010-06-30 21:16:50 +00:00
Ed Hartnett
6db57b7f09
made var->chunksizes array allocated intead of fixed size, to improve memory performance of netCDF-4
2010-06-30 21:05:11 +00:00
Ed Hartnett
0b5fdedb12
fixed HDF5 error messages when file without creation ordering is opened
2010-06-30 15:34:31 +00:00
Ed Hartnett
f1bea72f66
fixed position of test in list, which matters for extra-test builds, and fixed its error handling
2010-06-29 13:03:46 +00:00
Ed Hartnett
f0a72cbefb
fixed broken classic-only build
2010-06-28 17:17:43 +00:00
Ed Hartnett
0f7f58d85c
added tst_interops6.c
2010-06-25 14:51:46 +00:00
Ed Hartnett
4220dca07a
broke out test into libsrc/tst_interops6.c to help find memory problem
2010-06-25 14:51:16 +00:00
Russ Rew
ef66f0cc06
Merged latest trunk changes to my branch.
2010-06-24 22:07:01 +00:00
Ed Hartnett
2ddea973a3
fixed valgrind tests some more
2010-06-24 08:52:03 +00:00
Russ Rew
07967fba22
Merged latest trunk changes to my branch.
2010-06-24 05:23:23 +00:00
Ed Hartnett
663e344099
changes
2010-06-23 18:43:18 +00:00
Ed Hartnett
9da0b67627
fixed some automake issues to get distcheck working
2010-06-23 17:48:10 +00:00
Ed Hartnett
f6447ee94c
fixed extra-test libsrc4/tst_h_vl2 problem and valgrind test problems
2010-06-23 13:57:33 +00:00
Ed Hartnett
204685b257
got valgrind tests to pass
2010-06-23 13:20:39 +00:00
Russ Rew
8a013d4f51
Changed calls in tests from deprecated _ubyte functions to equivalent
...
_uchar functions.
2010-06-22 22:41:04 +00:00
Ed Hartnett
a2593be245
some changes
2010-06-22 17:12:29 +00:00
Ed Hartnett
e5512f4e56
removed v2 test in nc_test4 when --enable-c-only is used
2010-06-22 10:18:15 +00:00
Ed Hartnett
bb57cf2e4b
moved functions out of m4 into c files in libdispatch/netcdf.m4
2010-06-18 14:01:51 +00:00
Ed Hartnett
8c64a1e8fe
turned off more bad error output from tst_h_vl2.c.
2010-06-17 16:21:13 +00:00
Ed Hartnett
1033ba1e4e
turned off too much error output from tst_h_vl2.c
2010-06-17 16:16:16 +00:00
Ed Hartnett
0b54b49991
moved some tests which used v2 API from libsrc4 to nc_test4, to allow the library to be built before the tests
2010-06-15 15:24:28 +00:00
Ed Hartnett
552151d61a
fix libnetcdf2 problems with enable-c-only build in libsrc4 and libncdap4
2010-06-14 18:41:52 +00:00
Ed Hartnett
6db9f29704
removed libsrc4/old_*.c files
2010-06-14 12:58:10 +00:00
Ed Hartnett
57d743dddb
fixed build problems for libcf/gridspec, pnetcdf, and hdf4
2010-06-10 17:18:48 +00:00
Ed Hartnett
1e87ea9cbd
fixed shared build problems
2010-06-09 16:01:32 +00:00
Ed Hartnett
d2b5d51982
fixed bad include of error.h
2010-06-08 12:39:28 +00:00
Ed Hartnett
bb0035c95d
fixed Makefile.am includes to find new netcdf.h location
2010-06-07 15:40:31 +00:00
Ed Hartnett
7afbaa4b52
merged trunk up to revision 75, move v2 API
2010-06-07 11:12:14 +00:00
Ed Hartnett
1ba136e4cd
fixed makefile problems to allow make dist to work
2010-06-04 12:23:10 +00:00
Ed Hartnett
cdabf7bbf4
build system clean-up
2010-06-03 20:33:02 +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