fixed HDF5 object versioning so that all netCDF-4 files can be read by HDF5-1.8.x releases

This commit is contained in:
Ed Hartnett 2011-04-25 11:10:24 +00:00
parent 55e5e07394
commit 882b48f017
3 changed files with 7 additions and 4 deletions

View File

@ -3,13 +3,16 @@ Entries are in reverse chronological order (most recent first).
VERSION COMMENTS
------- --------
4.X 2011-04-17
4.1.3 2011-04-25
Changed setting for H5Pset_libver_bounds to ensure
that all netCDF-4 files can be read by HDF5 1.8.x.
Merged libncdap3 and libncdap4 into new libdap2 library.
The suffix dap2 now refers to the dap protocol. This is
in prep for adding dap4 protocol support.
4.1.2-rc1 2011-03-17
4.1.2 2011-03-29
Changes in build system to support building dlls on
cygwin/mingw32.

View File

@ -15,7 +15,7 @@ AC_REVISION([$Id: configure.ac,v 1.450 2010/05/28 19:42:47 dmh Exp $])
AC_PREREQ([2.59])
# Initialize with name, version, and support email address.
AC_INIT([netCDF], [4.1.2], [support-netcdf@unidata.ucar.edu])
AC_INIT([netCDF], [4.1.3], [support-netcdf@unidata.ucar.edu])
# Create the VERSION file, which contains the package version from
# AC_INIT.

View File

@ -272,7 +272,7 @@ nc4_create_file(const char *path, int cmode, MPI_Comm comm, MPI_Info info,
/* Set latest_format in access propertly list and
* H5P_CRT_ORDER_TRACKED in the creation property list. This turns
* on HDF5 creation ordering. */
if (H5Pset_libver_bounds(fapl_id, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST) < 0)
if (H5Pset_libver_bounds(fapl_id, H5F_LIBVER_18, H5F_LIBVER_18) < 0)
BAIL(NC_EHDFERR);
if ((fcpl_id = H5Pcreate(H5P_FILE_CREATE)) < 0)
BAIL(NC_EHDFERR);