Commit Graph

1237 Commits

Author SHA1 Message Date
Dennis Heimbigner
dea3c726c8 merge trunk into this branch 2013-03-15 20:31:07 +00:00
Dennis Heimbigner
1abb2ecb56 Fix jira NCF-243
Problem was that the NC_create
code was not checking for the NC_CLASSIC_MODEL
mode flag in deciding what dispatch table to use.
This meant that it was then defaulting to use
the default format, and if that was changed
to e.g. NC_FORMAT_NETCDF4, then it would try
to create a netcdf-4 format file, even is
NC_CLASSIC_MODEL mode flag was set.
2013-03-15 20:03:59 +00:00
Ward Fisher
ceb736c4b5 Corrected bug introduced via typo. Bug identified
by Coverity. Thanks, Coverity!
2013-03-14 23:23:36 +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
d9f615385d create branch to build pnetcdf support as a dispatch table 2013-03-13 17:46:30 +00:00
Dennis Heimbigner
e518689dbd Create a directory for the pnetcdf dispatch code 2013-03-13 17:36:39 +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
Dennis Heimbigner
c18c90b012 removed some unused local variables 2013-03-12 20:45:58 +00:00
Ward Fisher
c23a97dd7f Fixed a windows-related issue (required malloc.h include),
update documentation related to netcdf for Windows.
2013-03-11 22:45:26 +00:00
Ward Fisher
239a8e3c56 Neglected to update the version number in the build chains. 2013-03-11 21:21:20 +00:00
Ward Fisher
03fb6a2ac2 Merging latest changes from netcdf-cmake branch. 2013-03-11 21:13:51 +00:00
Russ Rew
bf038bceb8 Add test for bug NCF-234 fix 2013-03-10 23:57:06 +00:00
Russ Rew
4b89b3c392 Applied Wei-keng Liao's patch for fixing bug NCF-234, fixing variable offsets in files created by pnetcdf but rewritten by calling nc_enddef. 2013-03-10 01:09:06 +00:00
Ward Fisher
1ca3153d96 Merged changes from netcdf-cmake branch. 2013-03-08 23:36:40 +00:00
Dennis Heimbigner
80cf3a2c75 fix typo in previous checkin 2013-03-08 18:27:45 +00:00
Dennis Heimbigner
841f7c7148 Move onstack.h from libsrc
to include because it is used
both in libsrc and libdispatch
2013-03-08 18:08:11 +00:00
Ward Fisher
381082189c Updated Release notes 2013-03-05 21:35:11 +00:00
Ward Fisher
ca40a29fb1 Changed fsync to 'off' by default, based on conversation
with Russ, stemming from a discussion on netcdfgroup
related to slow responses from filesystems when fsync
is enabled.
2013-03-05 20:29:49 +00:00
Dennis Heimbigner
d70cf6d10c Primary change is to add ability
to do prefetch on either a lazy
or eager basis. Lazy means that
the prefetch does not occur
until and unless the client actually
makes a get_var request.

Also repaired a problem where
doing prefetch wrt a url that
has a constraint will prefetch
a whole variable if its constrained
size is small enough, even if the
underlying variable is too large
to warrant prefetch.
2013-03-03 04:06:43 +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
Koziol
125f12d528 Description:
Merge r2959:3024 from trunk to NCF-29 branch.

Tested on:
    Mac OSX/64 (amazon) w/--enable-netcdf-4 --enable-extra-tests
            --enable-extra-example-tests --disable-shared --enable-logging
2013-03-01 04:08:38 +00:00
Ward Fisher
57084316de Merging changes from netCDF branch. 2013-02-28 21:50:55 +00:00
Ward Fisher
38a3f2ef5f Changed CMakeLists.txt to look for nc_iter.c instead of nciter.c 2013-02-28 21:03:02 +00:00
Dennis Heimbigner
0fc1e99269 Forgot to check-in ncgen/nc_iter.c 2013-02-28 19:16:10 +00:00
Dennis Heimbigner
c50b8c29e2 Fix Jira NCF-233.
Rename nciter.[ch] to nc_iter.[ch] to avoid
potential build issues.
2013-02-28 17:51:09 +00:00
Ward Fisher
abb8364f95 Fixed issue with linked libraries losing RPATH during installation. 2013-02-26 22:11:09 +00:00
Dennis Heimbigner
d46e68e906 Added additional Jira items to RELEASE_NOTES; did a partial sort on NCF number 2013-02-26 21:56:13 +00:00
Russ Rew
96c569f207 Removed duplicate entry, credited Martin van Driel. 2013-02-26 21:13:58 +00:00
Russ Rew
551f649720 Added entries for some Jira bugs I resolved. 2013-02-26 21:04:56 +00:00
Ward Fisher
7d15f262b7 Updated release notes for impending 4.3 release. 2013-02-26 20:37:41 +00:00
Ward Fisher
0140ae8e71 Merge with latest cmake branch.
Added check for HAVE_STDINT_H in utf8proc.h,
to accomodate older visual studio versions
that require pnetcdf.h.
2013-02-26 17:54:41 +00:00
Dennis Heimbigner
6cf31dcf2d jira: NCF-232: bad conversion of grids 2013-02-26 04:31:06 +00:00
Ward Fisher
ba6bcca272 Updated files to next rc (4.3.0rc2) 2013-02-22 21:03:02 +00:00
Ward Fisher
0444a6c711 Fixed a couple of tests on Windows,
Fixed some compile errors on Windows.
2013-02-21 23:56: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
Ward Fisher
12b7ac7048 o Improved package_source support in CMake-based builds.
o Corrected an issue related to uninitialized variables
which caused test failures on 2 test systems under
very specific circumstances.
2013-02-19 23:29:41 +00:00
Ward Fisher
2d09f2e1cd Updated documents to contain top-level link to Windows resource. 2013-02-19 19:34:30 +00:00
Ward Fisher
1e4b930ad6 Updated version for 4.3.0 rc1 2013-02-19 17:35:21 +00:00
Ward Fisher
9ad4383ff8 Merged final changes against netcdf-cmake branch in preparation for
4.3.0-rc1
2013-02-19 17:13:24 +00:00
Koziol
fceaa3c227 Description:
Merge r2922:2959 from trunk to branch.
2013-02-18 22:47:32 +00:00
Dennis Heimbigner
b0b6c77a3e 1. corrected the nc_get_varm/put_varm documentation
to indicate that they only work for atomic types,
   not user defined types.

2. modified NCDEFAULT_{get/put}_vars to no longer use
   nc_get/put_varm. They now directly use nc_get/put_vara
   directly. This means that nc_get/put_vars now work
   properly for user defined types as well as atomic types.

3. Added test cases for get_vars/put_vars with a
   user defined type. Tests placed into
   nc_test/tst_compounds.c
2013-02-17 23:42:15 +00:00
Ward Fisher
49b144143d CMake fixes for enabling MMAP tests. 2013-02-14 20:24:02 +00:00
Ward Fisher
51848614c3 Corrected parallel support in CMake, including
library checks and parallel IO tests.  Updated 
CMake-related documentation.
2013-02-12 22:22:54 +00:00
Ward Fisher
5703c0979e Corrected an issue I introduced which broke a particular parallel test. 2013-02-12 21:27:52 +00:00
Dennis Heimbigner
70186d5329 Fix bug in dataError when no error message is found 2013-02-11 23:32:46 +00:00
Russ Rew
ba1a494579 Fix bug NCF-226 2013-02-11 18:04:03 +00:00
Dennis Heimbigner
4109174d00 Add quick check for Error {...} at start of the datadds data part 2013-02-07 22:14:57 +00:00
Ward Fisher
8d6bfcd534 Added new tests to CMake test system. 2013-02-06 23:09:19 +00:00
Koziol
b4df581b35 Make a copy of the trunk, for fixing Jira issue NCF-29 2013-02-05 20:32:23 +00:00
Dennis Heimbigner
ccb523fb56 add fix for '/' in dap names plus test 2013-02-04 18:49:48 +00:00