A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of netcdf-c

netcdf-c - v4.9.3

Known Issues

Parallel operation using mpich 4.2.0 (the default on Ubuntu 24.04) results in 'unexpected results' when running nc_test4/run_par_test.sh. This can be fixed by removing mpich and associated libraries and development packages and installing mpich 4.2.2 by hand, or by using openmpi provided via apt.

Release Notes

  • Extend the netcdf API to support programmatic changes to the plugin search path. See Github #3034 for more information.

What's Changed

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.2...tmp-tag

Climate Change - Climate Data Standards - C
Published by WardF 3 months ago

netcdf-c - v4.9.3-rc2

The NSF Unidata netCDF team is happy to announce the second release candidate for netCDF-C v4.9.3. This release will include a lot of quality of life improvements and bug fixes, as well as improved support for ncZarr. We expect to release a second release candidate, with a focus on improved documentation, and a quick-start guide for our Zarr support with S3 and other cloud-based object stores.

The second release candidate will be out shortly; the final, full release will occur as quickly as possible, but that will depend on issues which arise through testing of this release candidate. Assuming no major issues are reported, we hope to have the final release of v4.9.3 out by the end of December. Thanks all for your patience, contributions and help!

What's Changed

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.3-rc1...v4.9.3-rc2

Climate Change - Climate Data Standards - C
Published by WardF 5 months ago

netcdf-c - v4.9.3-rc1

The NSF Unidata netCDF team is happy to announce the first release candidate for netCDF-C v4.9.3. This release will include a lot of quality of life improvements and bug fixes, as well as improved support for ncZarr. We expect to release a second release candidate, with a focus on improved documentation, and a quick-start guide for our Zarr support with S3 and other cloud-based object stores.

The second release candidate will be out shortly; the final, full release will occur as quickly as possible, but that will depend on issues which arise through testing of this release candidate. The more broadly it is tested, the quicker we'll be able to get the full release out. Thanks all for your patience and your help!

What's Changed

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.2...v4.9.3-rc1

Climate Change - Climate Data Standards - C
Published by WardF 9 months ago

netcdf-c - v4.9.2

4.9.2 - March 14, 2023

This is a maintenance release which adds support for HDF5 version 1.14.0, in addition to a handful of other changes and bug fixes.

  • [Enhancement] Update H5FDhttp.[ch] to work with HDF5 version 1.14.0. See Github #2615.
  • Update nc-config to remove inclusion from automatically-detected nf-config and ncxx-config files, as the wrong files could be included in the output. This is in support of GitHub #2274.
  • Update H5FDhttp.[ch] to work with HDF5 version 1.13.2 and later. See Github #2635.
  • [Bug Fix] Update DAP code to enable CURLOPT_ACCEPT_ENCODING by default. See Github #2630.
  • [Bug Fix] Fix byterange failures for certain URLs. See Github #2649.
  • [Bug Fix] Fix 'make distcheck' error in run_interop.sh. See Github #2631.
  • [Enhancement] Update nc-config to remove inclusion from automatically-detected nf-config and ncxx-config files, as the wrong files could be included in the output. This is in support of GitHub #2274.

Automatically Generated Changes

What's Changed

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.1...v4.9.2

Climate Change - Climate Data Standards - C
Published by WardF about 2 years ago

netcdf-c - netCDF-C 4.9.1

Known Issues

  • A test in the main branch of netcdf-cxx4 is broken by this rc; this will bear further investigation, but not being treated as a roadblock for the release candidate.
  • The new document, netcdf-c/docs/filter_quickstart.md is in rough-draft form.
  • Race conditions exist in some of the tests when run concurrently with large numbers of processors

What's Changed from v4.9.0 (automatically generated)

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.0...v4.9.1

Climate Change - Climate Data Standards - C
Published by WardF about 2 years ago

netcdf-c - netCDF-C 4.9.1 - Release Candidate 2

Known Issues

  • A test in the main branch of netcdf-cxx4 is broken by this rc; this will bear further investigation, but not being treated as a roadblock for the release candidate.
  • The new document, netcdf-c/docs/filter_quickstart.md is in rough-draft form.
  • Race conditions exist in some of the tests when run concurrently.

Changes

  • Fixed issue with libnetcdf-feedstock at Conda-Forge.

Other Changes (automatically generated)

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.1-rc1...v4.9.1-rc2

Climate Change - Climate Data Standards - C
Published by WardF over 2 years ago

netcdf-c - v4.9.1-rc1

v4.9.1-rc1

This is the first release candidate for netCDF-C v4.9.1. This is primarily a maintenance release.

Known Issues

  • A test in the main branch of netcdf-cxx4 is broken by this rc; this will bear further investigation, but not being treated as a roadblock for the release candidate.
  • The new document, netcdf-c/docs/filter_quickstart.md is in rough-draft form.

Notable Changes (Manually Recorded)

  • [Enhancement][Documentation] Add Plugins Quick Start Guide. See GitHub #2524 for more information.
  • [Enhancement] Add new entries in netcdf_meta.h, NC_HAS_BLOSC and NC_HAS_BZ2. See Github #2511 and Github #2512 for more information.
  • [Enhancement] Add new options to nc-config: --has-multifilters, --has-stdfilters, --has-quantize, --plugindir. See Github #2509 for more information.
  • [Bug Fix] Fix some errors detected in PR 2497. PR #2497 . See Github #2503.
  • [Bug Fix] Split the remote tests into two parts: one for the remotetest server and one for all other external servers. Also add a configure option to enable the latter set. See Github #2491.
  • [Bug Fix] Fix blosc plugin errors. See Github #2461.
  • [Bug Fix] Fix support for reading arrays of HDF5 fixed size strings. See Github #2466.
  • [Bug Fix] Fix some errors detected in PR #2492 . See Github #2497.
  • [Enhancement] Add support for Zarr (fixed length) string type in nczarr. See Github #2492.
  • [Bug Fix] Split the remote tests into two parts: one for the remotetest server and one for all other external servers. Also add a configure option to enable the latter set. See Github #2491.
  • [Bug Fix] Fix support for reading arrays of HDF5 fixed size strings. See Github #2462.
  • [Bug Fix] Provide a default enum const when fill value does not match any enum constant for the value zero. See Github #2462.
  • [Bug Fix] Fix the json submodule symbol conflicts between libnetcdf and the plugin specific netcdf_json.h. See Github #2448.
  • [Bug Fix] Fix quantize with CLASSIC_MODEL files. See Github #2405.
  • [Enhancement] Add --disable-quantize option to configure.
  • [Bug Fix] Fix CMakeLists.txt to handle all acceptable boolean values for -DPLUGIN_INSTALL_DIR. See Github #2430.
  • [Bug Fix] Fix tst_vars3.c to use the proper szip flag. See Github #2421.
  • [Enhancement] Provide a simple API to allow user access to the internal .rc file table: supports get/set/overwrite of entries of the form "key=value". See Github #2408.
  • [Bug Fix] Use env variable USERPROFILE instead of HOME for windows and mingw. See Github #2405.
  • [Bug Fix] Fix the nc_def_var_fletcher32 code in hdf5 to properly test value of the fletcher32 argument. See Github #2403.

Changes since v4.9.0 (Automatically Generated by GitHub)

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.9.0...v4.9.1-rc1

Climate Change - Climate Data Standards - C
Published by WardF over 2 years ago

netcdf-c - netCDF-C v4.9.0

NOTE: CMAKE-BASED BUILDS see https://github.com/Unidata/netcdf-c/issues/2390 to get the correct library version. For now, you will need to either remove a stray } at line 39 in CMakeLists.txt, or you will need to use the configure script instead of cmake. Our sincere apologies!

Release Notes

This file contains a high-level description of this package's evolution. Releases are in reverse chronological order (most recent first). Note that, as of netcdf 4.2, the netcdf-c++ and netcdf-fortran libraries have been separated into their own libraries.

4.9.0 - June 10, 2022

  • [Enhancement] Improve filter installation process to avoid use of an extra shell script. See Github #2348.
  • [Bug Fix] Get "make distcheck" to work See Github #/2343.
  • [Enhancement] Allow the read/write of JSON-valued Zarr attributes to allow
    for domain specific info such as used by GDAL/Zarr. See Github #2278.
  • [Enhancement] Turn on the XArray convention for NCZarr files by default. WARNING, this means that the mode should explicitly specify nczarr" or "zarr" even if "xarray" or "noxarray" is specified. See Github #2257.
  • [Enhancement] Update the documentation to match the current filter capabilities See Github #2249.
  • [Enhancement] Support installation of pre-built standard filters into user-specified location. See Github #2318.
  • [Enhancement] Improve filter support. More specifically (1) add nc_inq_filter_avail to check if a filter is available, (2) add the notion of standard filters, (3) cleanup szip support to fix interaction with NCZarr. See Github #2245.
  • [Enhancement] Switch to tinyxml2 as the default xml parser implementation. See Github #2170.
  • [Bug Fix] Require that the type of the variable in nc_def_var_filter is not variable length. See Github #/2231.
  • [File Change] Apply HDF5 v1.8 format compatibility when writing to previous files, as well as when creating new files. The superblock version remains at 2 for newly created files. Full backward read/write compatibility for netCDF-4 is maintained in all cases. See Github #2176.
  • [Enhancement] Add ability to set dataset alignment for netcdf-4/HDF5 files. See Github #2206.
  • [Bug Fix] Improve UTF8 support on windows so that it can use utf8 natively. See Github #2222.
  • [Enhancement] Add complete bitgroom support to NCZarr. See Github #2197.
  • [Bug Fix] Clean up the handling of deeply nested VLEN types. Marks nc_free_vlen() and nc_free_string as deprecated in favor of ncaux_reclaim_data(). See Github #2179.
  • [Bug Fix] Make sure that netcdf.h accurately defines the flags in the open/create mode flags. See Github #2183.
  • [Enhancement] Improve support for msys2+mingw platform. See Github #2171.
  • [Bug Fix] Clean up the various inter-test dependencies in ncdump for CMake. See Github #2168.
  • [Bug Fix] Fix use of non-aws appliances. See Github #2152.
  • [Enhancement] Added options to suppress the new behavior from Github #2135. The options for cmake and configure are, respectively -DENABLE_LIBXML2 and --(enable/disable)-libxml2. Both of these options defaul to 'on/enabled'. When disabled, the bundled ezxml XML interpreter is used regardless of whether libxml2 is present on the system.
  • [Enhancement] Support optional use of libxml2, otherwise default to ezxml. See Github #2135 -- H/T to Egbert Eich.
  • [Bug Fix] Fix several os related errors. See Github #2138.
  • [Enhancement] Support byte-range reading of netcdf-3 files stored in private buckets in S3. See Github #2134
  • [Enhancement] Support Amazon S3 access for NCZarr. Also support use of the existing Amazon SDK credentials system. See Github #2114
  • [Bug Fix] Fix string allocation error in H5FDhttp.c. See Github #2127.
  • [Bug Fix] Apply patches for ezxml and for selected oss-fuzz detected errors. See Github #2125.
  • [Bug Fix] Ensure that internal Fortran APIs are always defined. See Github #2098.
  • [Enhancement] Support filters for NCZarr. See Github #2101
  • [Bug Fix] Make PR 2075 long file name be idempotent. See Github #2094.

What's Changed

New Contributors

Full Changelog: https://github.com/Unidata/netcdf-c/compare/v4.8.1...v4.9.0

Climate Change - Climate Data Standards - C
Published by WardF almost 3 years ago

netcdf-c - netCDF-C v4.8.1

4.8.1 - August 18, 2021

  • [Bug Fix] Fix multiple bugs in libnczarr. See Github #2066.
  • [Enhancement] Support windows network paths (e.g. \svc...). See Github #2065.
  • [Enhancement] Convert to a new representation of the NCZarr meta-data extensions: version 2. Read-only backward compatibility is provided. See Github #2032.
  • [Bug Fix] Fix dimension_separator bug in libnczarr. See Github #2035.
  • [Bug Fix] Fix bugs in libdap4. See Github #2005.
  • [Bug Fix] Store NCZarr fillvalue as a singleton instead of a 1-element array. See Github #2017.
  • [Bug Fixes] The netcdf-c library was incorrectly determining the scope of dimension; similar to the type scope problem. See Github #2012 for more information.
  • [Bug Fix] Re-enable DAP2 authorization testing. See Github #2011.
  • [Bug Fix] Fix bug with windows version of mkstemp that causes failure to create more than 26 temp files. See Github #1998.
  • [Bug Fix] Fix ncdump bug when printing VLENs with basetype char. See Github #1986.
  • [Bug Fixes] The netcdf-c library was incorrectly determining the scope of types referred to by nc_inq_type_equal. See Github #1959 for more information.
  • [Bug Fix] Fix bug in use of XGetopt when building under Mingw. See Github #2009.
  • [Enhancement] Improve the error reporting when attempting to use a filter for which no implementation can be found in HDF5_PLUGIN_PATH. See Github #2000 for more information.
  • [Bug Fix] Fix make distcheck issue in nczarr_test/ directory. See Github #2007.
  • [Bug Fix] Fix bug in NCclosedir in dpathmgr.c. See Github #2003.
  • [Bug Fix] Fix bug in ncdump that assumes that there is a relationship between the total number of dimensions and the max dimension id. See Github #2004.
  • [Bug Fix] Fix bug in JSON processing of strings with embedded quotes. See Github #1993.
  • [Enhancement] Add support for the new "dimension_separator" enhancement to Zarr v2. See Github #1990 for more information.
  • [Bug Fix] Fix hack for handling failure of shell programs to properly handle escape characters. See Github #1989.
  • [Bug Fix] Allow some primitive type names to be used as identifiers depending on the file format. See Github #1984.
  • [Enhancement] Add support for reading/writing pure Zarr storage format that supports the XArray _ARRAY_DIMENSIONS attribute. See Github #1952 for more information.
  • [Update] Updated version of bzip2 used in filter testing/functionality, in support of Github #1969.
  • [Bug Fix] Corrected HDF5 version detection logic as described in Github #1962.

Climate Change - Climate Data Standards - C
Published by WardF over 3 years ago

netcdf-c - netCDF-C 4.8.0

v4.7.4 to v4.8.0 ABI and ABI Compatibility Report

Generated with the following command, using docker:

$ docker run --rm -it -e OLDVER=v4.7.4 -e NEWVER=v4.8.0 -v $(pwd):/output unidata/ncabi

4.8.0 - March 30, 2021

  • [Enhancement] Bump the NC_DISPATCH_VERSION from 2 to 3, and as a side effect, unify the definition of NC_DISPATCH_VERSION so it only needs to be defined in CMakeLists.txt and configure.ac. See Github #1945 for more information.
  • [Enhancement] Provide better cross platform path name management. This converts paths for various platforms (e.g. Windows, MSYS, etc.) so that they are in the proper format for the executing platform. See Github #1958 for more information.
  • [Bug Fixes] The nccopy program was treating -d0 as turning deflation on rather than interpreting it as "turn off deflation". See Github #1944 for more information.
  • [Enhancement] Add support for storing NCZarr data in zip files. See Github #1942 for more information.
  • [Bug Fixes] Make fillmismatch the default for DAP2 and DAP4; too many servers ignore this requirement.
  • [Bug Fixes] Fix some memory leaks in NCZarr, fix a bug with long strides in NCZarr. See Github #1913 for more information.
  • [Enhancement] Add some optimizations to NCZarr, dosome cleanup of code cruft, add some NCZarr test cases, add a performance test to NCZarr. See Github #1908 for more information.
  • [Bug Fix] Implement a better chunk cache system for NCZarr. The cache now uses extendible hashing plus a linked list for provide a combination of expandibility, fast access, and LRU behavior. See Github #1887 for more information.
  • [Enhancement] Provide .rc fields for S3 authentication: HTTP.S3.ACCESSID and HTTP.S3.SECRETKEY.
  • [Enhancement] Give the client control over what parts of a DAP2 URL are URL encoded (i.e. %xx). This is to support the different decoding rules that servers apply to incoming URLS. See Github #1884 for more information.
  • [Bug Fix] Fix incorrect time offsets from ncdump -t, in some cases when the time units attribute contains both a non-zero time-of-day, and a time zone suffix containing the letter "T", such as "UTC". See Github #1866 for more information.
  • [Bug Fix] Cleanup the NCZarr S3 build options. See Github #1869 for more information.
  • [Bug Fix] Support aligned access for selected ARM processors. See Github #1871 for more information.
  • [Documentation] Migrated the documents in the NUG/ directory to the dedicated NUG repository found at https://github.com/Unidata/netcdf
  • [Bug Fix] Revert the internal filter code to simplify it. From the user's point of view, the only visible change should be that (1) the functions that convert text to filter specs have had their signature reverted and renamed and have been moved to netcdf_aux.h, and (2) Some filter API functions now return NC_ENOFILTER when inquiry is made about some filter. Internally, the dispatch table has been modified to get rid of the complex structures.
  • [Bug Fix] If the HDF5 byte-range Virtual File Driver is available )HDf5 1.10.6 or later) then use it because it has better performance than the one currently built into the netcdf library.
  • [Bug Fix] Fixed byte-range support with cURL > 7.69. See [https://github.com/Unidata/netcdf-c/pull/1798].
  • [Enhancement] Added new test for using compression with parallel I/O: nc_test4/tst_h_par_compress.c. See [https://github.com/Unidata/netcdf-c/pull/1784].
  • [Bug Fix] Don't return error for extra calls to nc_redef() for netCDF/HDF5 files, unless classic model is in use. See [https://github.com/Unidata/netcdf-c/issues/1779].
  • [Enhancement] Added new parallel I/O benchmark program to mimic NOAA UFS data writes, built when --enable-benchmarks is in configure. See [https://github.com/Unidata/netcdf-c/pull/1777].
  • [Bug Fix] Now allow szip to be used on variables with unlimited dimension [https://github.com/Unidata/netcdf-c/issues/1774].
  • [Enhancement] Add support for cloud storage using a variant of the Zarr storage format. Warning: this feature is highly experimental and is subject to rapid evolution [https://www.unidata.ucar.edu/blogs/developer/en/entry/overview-of-zarr-support-in].
  • [Bug Fix] Fix nccopy to properly set default chunking parameters when not otherwise specified. This can significantly improve performance in selected cases. Note that if seeing slow performance with nccopy, then, as a work-around, specifically set the chunking parameters. [https://github.com/Unidata/netcdf-c/issues/1763].
  • [Bug Fix] Fix some protocol bugs/differences between the netcdf-c library and the OPeNDAP Hyrax server. Also cleanup checksum handling [https://github.com/Unidata/netcdf-c/issues/1712].* [Bug Fix] IMPORTANT: Ncgen was not properly handling large
    data sections. The problem manifests as incorrect ordering of
    data in the created file. Aside from examining the file with
    ncdump, the error can be detected by running ncgen with the -lc
    flag (to produce a C file). Examine the file to see if any
    variable is written in pieces as opposed to a single call to
    nc_put_vara. If multiple calls to nc_put_vara are used to write
    a variable, then it is probable that the data order is
    incorrect. Such multiple writes can occur for large variables
    and especially when one of the dimensions is unlimited.
  • [Bug Fix] Add necessary __declspec declarations to allow compilation
    of netcdf library without causing errors or (_declspec related)
    warnings [https://github.com/Unidata/netcdf-c/issues/1725].
  • [Enhancement] When a filter is applied twice with different
    parameters, then the second set is used for writing the dataset
    [https://github.com/Unidata/netcdf-c/issues/1713].
  • [Bug Fix] Now larger cache settings are used for sequential HDF5 file creates/opens on parallel I/O capable builds; see Github #1716 for more information.
  • [Bug Fix] Add functions to libdispatch/dnotnc4.c to support
    dispatch table operations that should work for any dispatch
    table, even if they do not do anything; functions such as
    nc_inq_var_filter [https://github.com/Unidata/netcdf-c/issues/1693].
  • [Bug Fix] Fixed a scalar annotation error when scalar == 0; see Github #1707 for more information.
  • [Bug Fix] Use proper CURLOPT values for VERIFYHOST and VERIFYPEER; the semantics for VERIFYHOST in particular changed. Documented in NUG/DAP2.md. See [https://github.com/Unidata/netcdf-c/issues/1684].
  • [Bug Fix][cmake] Correct an issue with parallel filter test logic in CMake-based builds.
  • [Bug Fix] Now allow nc_inq_var_deflate()/nc_inq_var_szip() to be called for all formats, not just HDF5. Non-HDF5 files return NC_NOERR and report no compression in use. This reverts behavior that was changed in the 4.7.4 release. See [https://github.com/Unidata/netcdf-c/issues/1691].
  • [Bug Fix] Compiling on a big-endian machine exposes some missing forward delcarations in dfilter.c.

Climate Change - Climate Data Standards - C
Published by WardF about 4 years ago

netcdf-c - netCDF-C 4.7.4

  • [Windows] Bumped packaged HDF5 to 1.10.6, HDF4 to 4.2.14, and libcurl to 7.60.0.
  • [Enhancement] Support has been added for HDF5-1.12.0. See [https://github.com/Unidata/netcdf-c/issues/1528].
  • [Bug Fix] Correct behavior for the command line utilities when directly accessing a directory using utf8 characters. See Github #1669, Github #1668 and Github #1666 for more information.
  • [Bug Fix] Attempts to set filters or chunked storage on scalar vars will now return NC_EINVAL. Scalar vars cannot be chunked, and only chunked vars can have filters. Previously the library ignored these attempts, and always storing scalars as contiguous storage. See [https://github.com/Unidata/netcdf-c/issues/1644].
  • [Enhancement] Support has been added for multiple filters per variable. See [https://github.com/Unidata/netcdf-c/issues/1584].
  • [Enhancement] Now nc_inq_var_szip retuns 0 for parameter values if szip is not in use for var. See [https://github.com/Unidata/netcdf-c/issues/1618].
  • [Enhancement] Now allow parallel I/O with filters, for HDF5-1.10.3 and later. See [https://github.com/Unidata/netcdf-c/issues/1473].
  • [Enhancement] Increased default size of cache buffer to 16 MB, from 4 MB. Increased number of slots to 4133. See [https://github.com/Unidata/netcdf-c/issues/1541].
  • [Enhancement] Allow zlib compression to be used with parallel I/O writes, if HDF5 version is 1.10.3 or greater. See [https://github.com/Unidata/netcdf-c/issues/1580].
  • [Enhancement] Restore use of szip compression when writing data (including writing in parallel if HDF5 version is 1.10.3 or greater). See [https://github.com/Unidata/netcdf-c/issues/1546].
  • [Enhancement] Enable use of compact storage option for small vars in netCDF/HDF5 files. See [https://github.com/Unidata/netcdf-c/issues/1570].
  • [Enhancement] Updated benchmarking program bm_file.c to better handle very large files. See [https://github.com/Unidata/netcdf-c/issues/1555].
  • [Enhancement] Added version number to dispatch table, and now check version with nc_def_user_format(). See [https://github.com/Unidata/netcdf-c/issues/1599].
  • [Bug Fix] Fixed user setting of MPI launcher for parallel I/O HDF5 test in h5_test. See [https://github.com/Unidata/netcdf-c/issues/1626].
  • [Bug Fix] Fixed problem of growing memory when netCDF-4 files were opened and closed. See [https://github.com/Unidata/netcdf-c/issues/1575 and https://github.com/Unidata/netcdf-c/issues/1571].
  • [Enhancement] Increased size of maximum allowed name in HDF4 files to NC_MAX_NAME. See [https://github.com/Unidata/netcdf-c/issues/1631].

Climate Change - Climate Data Standards - C
Published by WardF about 5 years ago

netcdf-c - netCDF-C 4.7.3

  • [Bug Fix]Fixed an issue where installs from tarballs will not properly compile in parallel environments.
  • [Bug Fix] Library was modified so that rewriting the same attribute happens without deleting the attribute, to avoid a limit on how many times this may be done in HDF5. This fix was thought to be in 4.6.2 but was not. See [https://github.com/Unidata/netcdf-c/issues/350].
  • [Enhancement] Add a dispatch version number to netcdf_meta.h and libnetcdf.settings, in case we decide to change dispatch table in future. See [https://github.com/Unidata/netcdf-c/issues/1469].
  • [Bug Fix] Now testing that endianness can only be set on atomic ints and floats. See [https://github.com/Unidata/netcdf-c/issues/1479].
  • [Bug Fix] Fix for subtle error involving var and unlimited dim of the same name, but unrelated, in netCDF-4. See [https://github.com/Unidata/netcdf-c/issues/1496].
  • [Enhancement] Update for attribute documentation. See [https://github.com/Unidata/netcdf-c/issues/1512].
  • [Bug Fix][Enhancement] Corrected assignment of anonymous (a.k.a. phony) dimensions in an HDF5 file. Now when a dataset uses multiple dimensions of the same size, netcdf assumes they are different dimensions. See GitHub #1484 for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 5 years ago

netcdf-c - netCDF-C 4.7.2

  • [OSX][Bug Fix][Enhancement] Corrected an issue where protected memory was being written to with some pointer slight-of-hand. This has been in the code for a while, but appears to be caught by the compiler on OSX, under circumstances yet to be completely nailed down. See GitHub #1486 for more information.
  • [Enhancement] [Parallel IO] Added support for parallel functions in MSVC. See Github #1492 for more information.
  • [Enhancement] Added a function for changing the ncid of an open file. This function should only be used if you know what you are doing, and is meant to be used primarily with PIO integration. See GitHub #1483 and GitHub #1487 for more information.
  • [Bug Fix][Enhancement] Various bug fixes and enhancements.

Climate Change - Climate Data Standards - C
Published by WardF over 5 years ago

netcdf-c - netCDF-C 4.7.1

  • [Enhancement] Added unit_test directory, which contains unit tests
    for the libdispatch and libsrc4 code (and any other directories that
    want to put unit tests there). Use --disable-unit-tests to run without
    unit tests (ex. for code coverage analysis).
    See GitHub #1458

  • [Bug Fix] Remove obsolete _CRAYMPP and LOCKNUMREC macros from
    code. Also brought documentation up to date in man page. These macros
    were used in ancient times, before modern parallel I/O systems were
    developed. Programmers interested in parallel I/O should see
    nc_open_par() and nc_create_par().
    See GitHub #1459

  • [Enhancement] Remove obsolete and deprecated functions
    nc_set_base_pe() and nc_inq_base_pe() from the dispatch table. (Both
    functions are still supported in the library, this is an internal
    change only.)
    See GitHub #1468

  • [Bug Fix] Reverted nccopy behavior so that if no -c parameters
    are given, then any default chunking is left to the netcdf-c library
    to decide.
    See GitHub #1436

  • Various other bugfixes and enhancements.

Climate Change - Climate Data Standards - C
Published by WardF over 5 years ago

netcdf-c - netCDF-C 4.7.0

The changes from 4.6.3 include but are not limited to:

  • [Enhancement] A plethora of bug fixes and performance improvements.

  • [Enhancement] Updated behavior of pkgconfig and nc-config to allow the use of the --static flags, e.g. nc-config --libs --static, which will show information for linking against libnetcdf statically. See Github #1360 and Github #1257 for more information.

  • [Enhancement] Provide byte-range reading of remote datasets. This allows
    read-only access to, for example, Amazon S3 objects and also Thredds Server
    datasets via the HTTPService access method.
    See GitHub #1251.

  • Update the license from the home-brewed NetCDF license to the standard 3-Clause BSD License. This change does not result in any new restrictions; it is merely the adoption of a standard, well-known and well-understood license in place of the historic NetCDF license written at Unidata. This is part of a broader push by Unidata to adopt modern, standardized licensing.

Climate Change - Climate Data Standards - C
Published by WardF almost 6 years ago

netcdf-c - netCDF-C 4.6.3

The changes from 4.6.2 include but are not limited to:

  • [Bug Fix] Correctly generated netcdf.pc generated either by configure or cmake. If linking against a static netcdf, you would need to pass the --static argument to pkg-config in order to list all of the downstream dependencies. See Github #1324 for more information.
  • Now always write hidden coordinates attribute, which allows faster file opens when present. See Github #1262 for more information.
  • Some fixes for rename, including fix for renumbering of varids after a rename (#1307), renaming var to dim without coordinate var. See Github #1297.
  • Fix of NULL parameter causing segfaults in put_vars functions. See Github #1265 for more information.
  • Fix of --enable-benchmark benchmark tests Github #1211
  • Update the license from the home-brewed NetCDF license to the standard 3-Clause BSD License. This change does not result in any new restrictions; it is merely the adoption of a standard, well-known and well-understood license in place of the historic NetCDF license written at Unidata. This is part of a broader push by Unidata to adopt modern, standardized licensing.
  • [BugFix] Corrected DAP-releated issues on big-endian machines. See Github #1321, Github #1302 for more information.
  • [BugFix][Enhancement] Various and sundry bugfixes and performance enhancements, thanks to @edhartnett, @gsjaardema, @t-b, @wkliao, and all of our other contributors.
  • [Enhancement] Extended nccopy -F syntax to support multiple variables with a single invocation. See Github #1311 for more information.
  • [BugFix] Corrected an issue where DAP2 was incorrectly converting signed bytes, resulting in an erroneous error message under some circumstances. See GitHub #1317 for more information. See Github #1319 for related information.
  • [BugFix][Enhancement] Modified nccopy so that _NCProperties is not copied over verbatim but is instead generated based on the version of libnetcdf used when copying the file. Additionally, _NCProperties are displayed if/when associated with a netcdf3 file, now. See GitHub #803 for more information.

Climate Change - Climate Data Standards - C
Published by WardF about 6 years ago

netcdf-c - netCDF-C 4.6.2

The changes from version 4.6.1 include (but are not limited to):

  • [Enhancement] Lazy att read - only read atts when user requests one of them. See GitHub #857.
  • [Enhancement] Fast global att read - when global atts are read, they are read much more quickly. See GitHub #857.
  • [Enhancement] Add nccopy command options for per-variable chunk sizing, and minimum chunk size. See GitHub #1087.
  • [Bug Fix] Fix nccopy handling of user specified chunk sizes. See GitHub #725,#1087.
  • [Bug Fix] Avoid limit on number of times a netCDF4 attribute can be updated. Not a complete fix for the HDF5 "maximum creation order" problem, but should greatly reduce occurrences in many real-world cases. See GitHub #350.
  • [Bug Fix] The use of NC_DISKLESS has been modified to make it cleaner. This adds a new flag called NC_PERSIST that takes over the now obsolete NC_MPIPOSIX.
  • [Obsolete] Obsolete the MPIPOSIX flag.
  • [Bug Fix] When using filters with HDF5 1.10.x or later, it is necessary to utilize the HDF5 replacements for malloc, realloc, and free in the filter code.
  • [Enhancement] Create a new version of _NCProperties provenance attribute. This version (version 2) supports arbitrary key-value pairs. It is the default when new files are created. Version 1 continues to be accepted.
  • [Enhancement] Allow user to set http read buffersize for DAP2 and DAP4 using the tag HTTP.READ.BUFFERSIZE in the .daprc file.
  • [Enhancement] Allow user to set http keepalive for DAP2 and DAP4 using the tag HTTP.KEEPALIVE in the .daprc file (see the OPeNDAP documentation for details).
  • [Enhancement] Support DAP4 remote tests using a new remote test server locatedon the Unidata JetStream project.
  • [Enhancement] Improved the performance of the nc_get/put_vars operations by using the equivalent slab capabilities of hdf5. Result is a significant speedup of these operations. See GitHub #1001 for more information.
  • [Enhancement] Expanded the capabilities of NC_INMEMORY to support writing and accessing the final modified memory. See GitHub #879 for more information.
  • [Enhancement] Made CDF5 support enabled by default. See Github #931 for more information.
  • [Bug Fix] Corrected a number of memory issues identified in ncgen. See GitHub #558 for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 6 years ago

netcdf-c - netCDF-C 4.6.2-rc2

The changes from the pervious version include (but are not limited to):

  • [Enhancement] Add nccopy command options for per-variable chunk sizing, and minimum chunk size. See GitHub #1087.
  • [Bug Fix] Fix nccopy handling of user specified chunk sizes. See GitHub #725,#1087.
  • [Bug Fix] Avoid limit on number of times a netCDF4 attribute can be updated. Not a complete fix for the HDF5 "maximum creation order" problem, but should greatly reduce occurrences in many real-world cases. See GitHub #350.
  • [Bug Fix] The use of NC_DISKLESS has been modified to make it cleaner. This adds a new flag called NC_PERSIST that takes over the now obsolete NC_MPIPOSIX.
  • [Obsolete] Obsolete the MPIPOSIX flag.
  • [Bug Fix] When using filters with HDF5 1.10.x or later, it is necessary to utilize the HDF5 replacements for malloc, realloc, and free in the filter code.

Climate Change - Climate Data Standards - C
Published by WardF over 6 years ago

netcdf-c - netCDF-C 4.6.2-rc1

The changes from the previous version include (but are not limited to):

  • [Enhancement] Create a new version of _NCProperties provenance attribute. This version (version 2) supports arbitrary key-value pairs. It is the default when new files are created. Version 1 continues to be accepted.
  • [Enhancement] Allow user to set http read buffersize for DAP2 and DAP4 using the tag HTTP.READ.BUFFERSIZE in the .daprc file.
  • [Enhancement] Allow user to set http keepalive for DAP2 and DAP4 using the tag HTTP.KEEPALIVE in the .daprc file (see the OPeNDAP documentation for details).
  • [Enhancement] Support DAP4 remote tests using a new remote test server locatedon the Unidata JetStream project.
  • [Enhancement] Improved the performance of the nc_get/put_vars operations by using the equivalent slab capabilities of hdf5. Result is a significant speedup of these operations. See GitHub #1001 for more information.
  • [Enhancement] Expanded the capabilities of NC_INMEMORY to support writing and accessing the final modified memory. See GitHub #879 for more information.
  • [Enhancement] Made CDF5 support enabled by default. See Github #931 for more information.
  • [Bug Fix] Corrected a number of memory issues identified in ncgen. See GitHub #558 for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 6 years ago

netcdf-c - netCDF-C 4.6.1

We are happy to announce the availability of netCDF-C 4.6.1. This is primarily a maintenance release. In addition to numerous internal changes, cleanup, bug fixes and reorganization, some notable changes since netCDF-C 4.6.0 are as follows:

  • [Enhancement] Reverted some new behaviors that, while in line with the netCDF specification, broke existing workflows. See Github #843 for more information.
  • [Bug Fix] Corrected an issue which could result in a dap4 failure. See Github #888 for more information.
  • [Bug Fix][Enhancement] Allow nccopy to control output filter suppresion. See Github #894 for more information.
  • [Bug Fix] Improved support for CRT builds with Visual Studio, improves zlib detection in hdf5 library. See Github #853 for more information.
  • [Enhancement][Internal] Moved HDF4 into a distinct dispatch layer. See Github #849 for more information.

Climate Change - Climate Data Standards - C
Published by WardF about 7 years ago

netcdf-c - netCDF-C 4.6.0

We are pleased to announce the netCDF-C 4.6.0 release. Highlighted changes from the 4.5.0 release are as follows:

  • [Enhancement] Full support for using HDF5 dynamic filters, both for reading and writing. See the file docs/filters.md.
  • [Enhancement] Reversed a handful of 4.5.0 changes which enforced documented-yet-previously-unenforced specifications, as these broke long established workflows.
  • [Enhancement] Added an option to enable strict null-byte padding for headers; this padding was specified in the spec but was not enforced. Enabling this option will allow you to check your files, as it will return an E_NULLPAD error. It is possible for these files to have been written by older versions of libnetcdf. There is no effective problem caused by this lack of null padding, so enabling these options is informational only. The options for configure and cmake are --enable-strict-null-byte-header-padding and -DENABLE_STRICT_NULL_BYTE_HEADER_PADDING, respectively. See Github #657 for more information.
  • [Enhancement] Reverted behavior/handling of out-of-range attribute values to pre-4.5.0 default. See Github #512 for more information.
  • [Bug] Fixed error in tst_parallel2.c. See Github #545 for more information.
  • [Bug] Fixed handling of corrupt files + proper offset handling for hdf5 files. See Github #552 for more information.
  • [Bug] Corrected a memory overflow in tst_h_dimscales, see Github #511, Github #505, Github #363 and Github #244 for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 7 years ago

netcdf-c - netCDF-C 4.5.0

We are very happy to announce netCDF 4.5.0. In addition to general bug fixes and improvements, the improvements from the previous release candidate are listed below. For a full list of changes since the 4.4.1.1 release, please see the full Release Notes.


  • Corrected an issue which could potential result in a hang while using parallel file I/O. See Github #449 for more information.
  • Addressed an issue with ncdump not properly handling dates on a 366 day calendar. See GitHub #359 for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 7 years ago

netcdf-c - netCDF-C 4.5.0 - Release Candidate 3

We are pleased to announce the third release candidate for netCDF 4.5.0. Assuming no further bug reports (won't that be nice!) we should have the full release out soon. In addition to general bug fixes, the main improvements from rc2 are as follows:


  • [Update] Due to ongoing issues, native CDF5 support has been disabled by default. You can use the options mentioned below (--enable-cdf5 or -DENABLE_CDF5=TRUE for configure or cmake, respectively). Just be aware that for the time being, Reading/Writing CDF5 files on 32-bit platforms may result in unexpected behavior when using extremely large variables. For 32-bit platforms it is best to continue using NC_FORMAT_64BIT_OFFSET.
  • [Bug] Corrected an issue where older versions of curl might fail. See GitHub #487 for more information.
  • [Enhancement] Added options to enable/disable CDF5 support at configure time for autotools and cmake-based builds. The options are --enable/disable-cdf5 and ENABLE_CDF5, respectively. See Github #484 for more information.
  • [Bug Fix] Corrected an issue when subsetting a netcdf3 file via nccopy -v/-V. See Github #425 and Github #463 for more information.
  • [Bug Fix] Corrected --has-dap and --has-dap4 output for cmake-based builds. See GitHub #473 for more information.
  • [Bug Fix] Corrected an issue where NC_64BIT_DATA files were being read incorrectly by ncdump, despite the data having been written correctly. See GitHub #457 for more information.
  • [Bug Fix] Corrected a potential stack buffer overflow. See GitHub #450 for more information.

Release Tarball - https://github.com/Unidata/netcdf-c/releases
Windows Installer Downloads - http://www.unidata.ucar.edu/software/netcdf/docs_rc/winbin.html
Documentation - http://www.unidata.ucar.edu/software/netcdf/docs_rc

Climate Change - Climate Data Standards - C
Published by WardF over 7 years ago

netcdf-c - netCDF-C 4.5.0 - Release Candidate 2

We are pleased to announce the second release candidate for netCDF 4.5.0. Assuming no further bug reports (won't that be nice!) we should have the full release out soon. In addition to general bug fixes, the main improvements from rc1 are as follows:

  • [Bug Fix] Addressed an issue with how cmake was implementing large file support on 32-bit systems. See GitHub #385 for more information.
  • [Bug Fix] Addressed an issue where ncgen would not respect keyword case. See GitHub #310 for more information.

The documentation and release code may be downloaded via the following links. We look forward to any feedback and suggestions. Once the official 4.5.0 release is out, we will move forward with the next versions of the Fortran and C++ interfaces.

Climate Change - Climate Data Standards - C
Published by WardF over 7 years ago

netcdf-c - netCDF-C 4.5.0 - Release Candidate 1

The following list captures the main changes/improvements/bug fixes since version 4.4.1.1:

4.5.0-rc1 - June 5, 2017

  • [Enhancement] DAP4 is now included. Since dap2 is the default for urls, dap4 must be specified by
    (1) using "dap4:" as the url protocol, or
    (2) appending "#protocol=dap4" to the end of the url, or
    (3) appending "#dap4" to the end of the url
    Note that dap4 is enabled by default but remote-testing is
    disbled until the testserver situation is resolved.
  • [Enhancement] The remote testing server can now be specified with the --with-testserver option to ./configure.
  • [Enhancement] Modified netCDF4 to use ASCII for NC_CHAR. See Github Pull request #316 for more information.
  • [Bug Fix] Corrected an error with how dimsizes might be read. See Github #410 for more information.
  • [Bug Fix] Corrected an issue where 'make check' would fail if 'make' or 'make all' had not run first. See Github #339 for more information.
  • [Bug Fix] Corrected an issue on Windows with Large file tests. See Github #385 for more information.
  • [Bug Fix] Corrected an issue with diskless file access, see Pull Request #400 and Pull Request #403 for more information.
  • [Upgrade] The bash based test scripts have been upgraded to use a common test_common.sh include file that isolates build specific information.
  • [Upgrade] The bash based test scripts have been upgraded to use a common test_common.sh include file that isolates build specific information.
  • [Refactor] the oc2 library is no longer independent of the main netcdf-c library. For example, it now uses ncuri, nclist, and ncbytes instead of its homegrown equivalents.
  • [Bug Fix] NC_EGLOBAL is now properly returned when attempting to set a global _FillValue attribute. See GitHub #388 and GitHub #389 for more information.
  • [Bug Fix] Corrected an issue where data loss would occur when _FillValue was mistakenly allowed to be redefined. See Github #390, GitHub #387 for more information.
  • [Upgrade][Bug] Corrected an issue regarding how "orphaned" DAS attributes were handled. See GitHub #376 for more information.
  • [Upgrade] Update utf8proc.[ch] to use the version now maintained by the Julia Language project (https://github.com/JuliaLang/utf8proc/blob/master/LICENSE.md).
  • [Bug] Addressed conversion problem with Windows sscanf. This primarily affected some OPeNDAP URLs on Windows. See GitHub #365 and GitHub #366 for more information.
  • [Enhancement] Added support for HDF5 collective metadata operations when available. Patch submitted by Greg Sjaardema, see Pull request #335 for more information.
  • [Bug] Addressed a potential type punning issue. See GitHub #351 for more information.
  • [Bug] Addressed an issue where netCDF wouldn't build on Windows systems using MSVC 2012. See GitHub #304 for more information.
  • [Bug] Fixed an issue related to potential type punning, see GitHub #344 for more information.
  • [Enhancement] Incorporated an enhancement provided by Greg Sjaardema, which may improve read/write times for some complex files. Basically, linked lists were replaced in some locations where it was safe to use an array/table. See Pull request #328 for more information.

Climate Change - Climate Data Standards - C
Published by WardF almost 8 years ago

netcdf-c - netCDF-C 4.4.1.1

This is the official release of netCDF-C 4.4.1.1. This is a maintenance release which contains several important bug fixes. The Unidata/netCDF team recommend migrating to netCDF 4.4.1.1 as soon as is possible to avoid a potential, albeit rare, data loss issue in ncgen (as described below or detailed at https://github.com/Unidata/netcdf-c/issues/323).

Changes from version 4.4.1

Below is a list of notable changes from the previous release.

  • [Bug] Fixed an issue where ncgen would potentially crash or write incorrect netCDF4 binary data under very specific circumstances. This bug did not affect data written on 32-bit systems or by using the netCDF library; it was specific to ncgen. This would only happen when writing a compound data type containing an 8-byte data type followed by a 4-byte data type and the 4-byte data type was not properly aligned; this would possibly result in incorrect padding. This did not affect 32-bit systems, or data written directly by the library. See GitHub #323 for more information.
  • [Documentation] Updated documentation related to netCDF variable names and DAP2 access to reflect the undefined behavior potentially observed when DAP2 reserved keywords are used as netCDF variable names. See GitHub #308 for more information.
  • [Bug] Fixed an issue with nc_inq_type() not returning proper value in some circumstances. See GitHub #317 for more information.
  • [Bug] Corrected an issue related to test failures when --disable-utilities or -DENABLE_UTILITIES=OFF are specified when building with autotools or cmake, respectively. See GitHub #313 for more information.
  • [Bug][Enhancement] Corrected a behavioral issue with the _NCProperties attribute taking up too much space. See GitHub #300 and GitHub #301 for more information.
  • [Bug] Corrected behavior for nc-config so that, if nf-config is found in system, the proper fortran-related information will be conveyed. See [GitHub #296](https://github.com/Unidata/netcdf-c/issues/296] for more information.

Climate Change - Climate Data Standards - C
Published by WardF over 8 years ago

netcdf-c - netCDF-C 4.4.1

This is the official release of netCDF-C 4.4.1.

This release provides compatibility with libhdf5 1.10.0+; previous versions of netCDF will generate binary files which cannot be read on systems using older versions of libhdf5. A summary of changes between this official release and the previous release candidate are as follows:

  • [File Change] Starting with release 4.4.1, netCDF-4 files created will have superblock version 0 instead of superblock version 2, as was observed in previous netCDF versions. This is due to a workaround required to avoid backwards binary incompatibility when using libhdf5 1.10.x or greater. Superblock versions 0 and 2 appear to be forward and backward compatible. Other than a different superblock number the data should remain consistent.
  • [Enhancement] Added better error reporting when ncdump/nccopy are given a bad constraint in a DAP url. See GitHub #279 for more information.

Full release notes are available here.

Climate Change - Climate Data Standards - C
Published by WardF almost 9 years ago

netcdf-c - netCDF-C 4.4.1-rc3

This is the third release candidate for netCDF-C 4.4.1. It contains various improvements and bug fixes over the previous release candidate. The notes for this release may be seen below, and the full list of release notes may be seen here. Notable improvements are as follows:

4.4.1-RC3 - June 17, 2016

  • [Bug Fix] Corrected an issue where adding a _FillValue attribute to a variable would result in other attributes being lost. See GitHub #239 for more details.
  • [Bug Fix][Parallel I/O] Corrected an issue reported by Kent Yang at the HDF group related to Collective Parallel I/O and a potential hang.
  • [Bug Fix] Misc. bug fixes and improvements.

Climate Change - Climate Data Standards - C
Published by WardF almost 9 years ago

netcdf-c - netCDF-C 4.4.1-rc2

This is the second release candidate for netCDF-C 4.4.1. It contains various improvements and bug fixes over the first release candidate. The notes for this release may be seen below, and the full list of release notes may be seen here.

4.4.1-RC2 - May 13, 2016

  • [Enhancement] Added provenance information to files created. This information consists of a persistent attribute named _NCProperties plus two computed attributes, _IsNetcdf4 and _SuperblockVersion. Associated documentation was added to the file docs/attribute_conventions.md. See GitHub pull request #260 for more information.
  • [Bug Fix] Cleaned up some dead links in the doxygen-generated documentation.
  • [Bug Fix] Corrected several issues related to building under Visual Studio 2014.
  • [Bug Fix] Corrected several test failures related to HDF5 1.10.0
  • [Bug Fix] Reverted SOVersion current to 11 from 12; it was incorrectly incremented in netCDF-C release 4.4.1-RC1.
  • [Enhancement][Windows] Updated included libhdf5 version from 1.8.15 to 1.8.16 for pre-built Windows/Visual Studio installers.

Climate Change - Climate Data Standards - C
Published by WardF almost 9 years ago

netcdf-c - netCDF-4.4.1-rc1

This is the first release candidate for netCDF 4.4.1. It contains many improvements and bug fixes, and addresses one very important issue. This is the first release which will write backwards-compatible netCDF4 files properly when linked against HDF5 1.10.0. See #250 for full details.

See the file RELEASE_NOTES.md for full release notes. Here is a summary of changes made so far:

Changes from 4.4.0 to 4.4.1-rc1

  • [Bug Fix][Enhancement] Fixed an issue with netCDF4 files generated using version 1.10.0 of the HDF5 library. The 1.10 release potentially changed the underlying file format, introducing a backwards compatibility issue with the files generated. HDF5 provided an API for retaining the 1.8.x file format, which is now on by default. See GitHub Issue #250 for more information.
  • [Bug Fix] Corrected an issue with autotools-based builds performed out-of-source-tree. See GitHub Issue #242 for more information.
  • [Enhancement] Modified nc_inq_type() so that it would work more broadly without requiring a valid ncid. See GitHub Issue #240 for more information.
  • [Enhancement] Accepted a patch code which added a hashmap lookup for rapid var and dim retrieval in nc3 files, contributed by Greg Sjaardema. See GitHub Pull Request #238 for more information.
  • [Bug Fix] Accepted a contributed pull request which corrected an issue with how the cmake-generated nc-config file determined the location of installed files. See GitHub Pull Request #235 for more information.
  • [Enhancement] Added an advanced option for CMake-based builds, ENABLE_SHARED_LIBRARY_VERSION. This option is ON by default, but if turned off, only libnetcdf.dylib will be generated, instead of files containing the SOVERSION in the file name. This is a requested feature most people might not care about. See GitHub #228 for more information.
  • [Bug Fix] Corrected an issue with duplicated error codes defined in multiple header files. See GitHub #213 for more information.
  • [Bug Fix] Addressed an issue specific to Visual Studio 2015 on Windows. On very large files, some calls to the fstat class of functions would fail for no apparent reason. This behavior was not observed under Visual Studio 2013. This has now been mitigated. See GitHub #188 for more information.
  • [Enhancement] Updated nc-config to report whether logging is enabled in netcdf. Additionally, if f03 is available in an installed netcdf-fortran library, it will now be reported as well.
  • [Bug Fix] Addressed an issue where netcdf_mem.h was not being installed by cmake. See GitHub #227 for more information.
  • [Bug Fix] Addressed an issue where ncdump would crash when trying to read a netcdf file containing an empty ragged VLEN variable in an unlimited dimension. See GitHub #221 for more information.

Climate Change - Climate Data Standards - C
Published by WardF about 9 years ago

netcdf-c - netCDF-4.4.0

netCDF-4.4.0 Release

This is the long-awaited netCDF-4.4.0 release. Full release notes can be here. Release notes for the changes between 4.4.0 and the previous release candidate, 4.4.0-rc5 are as follows:

Changes from 4.4.0-rc5 to 4.4.0

  • Bumped SO version to 11.0.0.
  • Modified CMakeLists.txt to work with the re-organized cmake configuration used by the latest HDF5, 1.8.16, on Windows. Before this fix, netCDF would fail to locate hdf5 1.8.16 when using cmake on Windows. See GitHub #186 for more information.
  • Addressed an issue with ncdump when annotations were used. The indices for the last row suffered from an off-by-1 error. See GitHub issue #181 for more information.
  • Addressed an issue on platforms where char is unsigned by default (such as ARM), as well as an issue describing regarding undefined behavior, again on ARM. See GitHub issue #159 for detailed information.
  • Fixed an ambiguity in the grammar for cdl files. See GitHub #178 for more information.
  • Updated documentation for nc_get_att_string() to reflect the fact that it returns allocated memory which must be explicitly free'd using nc_free_string(). Reported by Constantine Khroulev, see GitHub Issue 171 for more information.
  • Modified ncgen to properly handle the L and UL suffixes for integer constants
    to keep backward compatibility. Now it is the case the single L suffix
    (e.g. 111L) is treated as a 32 bit integer. This makes it consistent with
    the fact that NC_LONG (netcdf.h) is an alias for NC_INT. Existing .cdl
    files should be examined for occurrences of the L prefix to ensure that
    this change will not affect them.
    (see Github issue 156[https://github.com/Unidata/netcdf-c/issues/156]).
  • Updated documentation to reference the new NodeJS interface to netcdf4, by Sven Willner. It is available from https://www.npmjs.com/package/netcdf4 or from the GitHub repository at https://github.com/swillner/netcdf4-js.
  • Incorporated pull request https://github.com/Unidata/netcdf-c/pull/150 from Greg Sjaardema to remove the internal hard-wired use of NC_MAX_DIMS, instead using a dynamic memory allocation.

Climate Change - Climate Data Standards - C
Published by WardF over 9 years ago

netcdf-c - netCDF-4.4.0-rc5

This is the fifth and (hopefully) final release candidate for netCDF 4.4.0. There are a multitude of changes, including the addition of CDF-5 support. Below are the release notes for this release, and see See the release notes for full details for the full release note file.

4.4.0-RC5 Released - November 11, 2015

4.4.0-RC4 Released - November 10, 2015

  • Added CDM-5 support via new mode flag called NC_64BIT_DATA (alias NC_CDF5).

    Major kudos to Wei-Keng Liao for all the effort he put into getting this to work.

    This cascaded into a number of other changes.

    1. Renamed libsrcp5 -> libsrcp because pnetcdf can do parallel io for CDF-1, CDF-2 and CDF-5, not just CDF-5.
    2. Given #1, then the NC_PNETCDF mode flag becomes a subset of NC_MPIIO, so made NC_PNETCDF an alias for NC_MPII.
    3. NC_FORMAT_64BIT is now deprecated. Use NC_FORMAT_64BIT_OFFSET.

Further information regarding the CDF-5 file format specification may be found here: http://cucis.ece.northwestern.edu/projects/PnetCDF/CDF-5.html

  • Modified configure.ac to provide finer control over parallel
    support. Specifically, add flags for:
    1. HDF5_PARALLEL when hdf5 library has parallel enabled
    2. --disable-parallel4 to be used when we do not want
      netcdf-4 to use parallelism even if hdf5 has it enabled.
  • Deprecating various extended format flags.

The various extended format flags of the format NC_FORMAT_FOO have been refactored into the form NC_FORMATX_FOO. The old flags still exist but have been marked as deprecated and will be removed at some point. This was done to avoid confusion between the extended format flags and the format flags NC_FORMAT_CLASSIC, NC_FORMAT_64BIT_OFFSET, etc. The mapping of deprecated-to-new flags is as follows:

Deprecated Replaced with
NC_FORMAT_NC3 NC_FORMATX_NC3
NC_FORMAT_NC_HDF5 NC_FORMATX_NC_HDF5
NC_FORMAT_NC4 NC_FORMATX_NC4
NC_FORMAT_NC_HDF4 NC_FORMATX_NC_HDF4
NC_FORMAT_PNETCDF NC_FORMATX_PNETCDF
NC_FORMAT_DAP2 NC_FORMATX_DAP2
NC_FORMAT_DAP4 NC_FORMATX_DAP4
NC_FORMAT_UNDEFINED NC_FORMATX_UNDEFINED
  • Reduced minimum cmake version to 2.8.11 from 2.8.12. This will allow for cmake use on a broader set of popular linux platforms without having to do a custom cmake install. See https://github.com/Unidata/netcdf-c/issues/135 for more information.
  • The documentation section The Default Chunking Scheme has been updated with more information. This lives in the guide.dox file in the docs/ directory, or can be found online in the appropriate location (typically http://www.unidata.ucar.edu/netcdf/docs), once this release has been published.

Climate Change - Climate Data Standards - C
Published by WardF over 9 years ago

netcdf-c - netCDF-4.4.0-rc4

_NOTE: RC5 is forthcoming, it fixes a bug reported almost immediately after the release of RC4. The bug is fixed and a new release is currently being created._

This is the fourth and (hopefully) final release candidate for netCDF 4.4.0. There are a multitude of changes, including the addition of CDF-5 support. Below are the release notes for this release, and see See the release notes for full details for the full release note file.

4.4.0-RC4 Released - November 10, 2015

  • Added CDM-5 support via new mode flag called NC_64BIT_DATA (alias NC_CDF5).

    Major kudos to Wei-Keng Liao for all the effort he put into getting this to work.

    This cascaded into a number of other changes.

    1. Renamed libsrcp5 -> libsrcp because pnetcdf can do parallel io for CDF-1, CDF-2 and CDF-5, not just CDF-5.
    2. Given #1, then the NC_PNETCDF mode flag becomes a subset of NC_MPIIO, so made NC_PNETCDF an alias for NC_MPII.
    3. NC_FORMAT_64BIT is now deprecated. Use NC_FORMAT_64BIT_OFFSET.

Further information regarding the CDF-5 file format specifrication may be found here: http://cucis.ece.northwestern.edu/projects/PnetCDF/CDF-5.html

  • Modified configure.ac to provide finer control over parallel
    support. Specifically, add flags for:
    1. HDF5_PARALLEL when hdf5 library has parallel enabled
    2. --disable-parallel4 to be used when we do not want
      netcdf-4 to use parallelism even if hdf5 has it enabled.
  • Deprecating various extended format flags.

The various extended format flags of the format NC_FORMAT_FOO have been refactored into the form NC_FORMATX_FOO. The old flags still exist but have been marked as deprecated and will be removed at some point. This was done to avoid confusion between the extended format flags and the format flags NC_FORMAT_CLASSIC, NC_FORMAT_64BIT_OFFSET, etc. The mapping of deprecated-to-new flags is as follows:

Deprecated Replaced with
NC_FORMAT_NC3 NC_FORMATX_NC3
NC_FORMAT_NC_HDF5 NC_FORMATX_NC_HDF5
NC_FORMAT_NC4 NC_FORMATX_NC4
NC_FORMAT_NC_HDF4 NC_FORMATX_NC_HDF4
NC_FORMAT_PNETCDF NC_FORMATX_PNETCDF
NC_FORMAT_DAP2 NC_FORMATX_DAP2
NC_FORMAT_DAP4 NC_FORMATX_DAP4
NC_FORMAT_UNDEFINED NC_FORMATX_UNDEFINED
  • Reduced minimum cmake version to 2.8.11 from 2.8.12. This will allow for cmake use on a broader set of popular linux platforms without having to do a custom cmake install. See https://github.com/Unidata/netcdf-c/issues/135 for more information.
  • The documentation section The Default Chunking Scheme has been updated with more information. This lives in the guide.dox file in the docs/ directory, or can be found online in the appropriate location (typically http://www.unidata.ucar.edu/netcdf/docs), once this release has been published.

Climate Change - Climate Data Standards - C
Published by WardF over 9 years ago

netcdf-c - netCDF-C 4.4.0-rc3

This is the third release candidate for netCDF-C 4.4.0. This release is primarily a bugfix release, addressing several smaller bugs reported from the first and second release candidates.

See the release notes for full details.

Climate Change - Climate Data Standards - C
Published by WardF over 9 years ago

netcdf-c - NetCDF-C 4.4.0-rc2

This is the second release candidate for netCDF-C 4.4.0. This release is a bugfix release, addressing several smaller bugs reported from the first release candidate.

See the release notes for full details.

Climate Change - Climate Data Standards - C
Published by WardF almost 10 years ago

netcdf-c - NetCDF-C 4.4.0-rc1

This is the first release candidate for netCDF-C 4.4.0. Highlights of this release include:

  • The ability to open netCDF data "in memory" using nc_open_mem().
  • Added an authorization reference document as oc2/ocauth.html.

in addition to numerous bug fixes and optimizations. See the release notes for full details.

Climate Change - Climate Data Standards - C
Published by WardF almost 10 years ago

netcdf-c - NetCDF-C 4.3.3.1

This is a bug-fix release based on the netCDF-C 4.3.3 release. The release notes for this release are below. Full release notes may be found at https://github.com/Unidata/netcdf-c/blob/v4.3.3.1/RELEASE_NOTES.md.

netCDF-C 4.3.3.1

  • Fixed a bug related to renaming the attributes of coordinate variables in a subgroup. See NCF-325 for more information.

Climate Change - Climate Data Standards - C
Published by WardF about 10 years ago

netcdf-c - NetCDF-C 4.3.3

The notes below only reflect changes from the last release candidate. Full release notes may be found at https://github.com/Unidata/netcdf-c/blob/v4.3.3/RELEASE_NOTES.md.

4.3.3 Released 2015-02-12

  • Fixed bug resulting in error closing a valid netCDF-4 file with a dimension and a non-coordinate variable with the same name. NCF-324
  • Enabled previously-disabled shell-script-based tests for Visual Studio when bash is detected.

Climate Change - Climate Data Standards - C
Published by WardF about 10 years ago

netcdf-c - NetCDF-C 4.3.3-rc3

4.3.3-rc3 Released 2015-01-14

  • Added functionality to make it easier to build netcdf-fortran as part of the netcdf-c build for NON-MSVC builds. This functionality is enabled at configure time by using the following Highly Experimental options:
    • CMake: -DENABLE_REMOTE_FORTRAN_BOOTSTRAP=ON
    • Autotools: --enable-remote-fortran-bootstrap

Details are as follows:


Enabling these options creates two new make targets:

  • build-netcdf-fortran
  • install-netcdf-fortran

Example Work Flow from netcdf-c source directory:

  • $ ./configure --enable-remote-fortran-bootstrap --prefix=$HOME/local
  • $ make check
  • $ make install
  • $ make build-netcdf-fortran
  • $ make install-netcdf-fortran

These make targets are only valid after make install has been invoked. This cannot be enforced rigidly in the makefile for reasons we will expand on in the documentation, but in short: make install may require sudo, but using sudo will discard environmental variables required when attempting to build netcdf-fortran in this manner.

It is important to note that this is functionality is for convenience only. It will remain possible to build netcdf-c and netcdf-fortran manually. These make targets should hopefully suffice for the majority of our users, but for corner cases it may still be required of the user to perform a manual build. NCF-323


  • Added a failure state if the m4 utility is not found on non-Windows systems; previously, the build would fail when it reached the point of invoking m4.

  • Added an explicit check in the build systems (autotools, cmake) for the CURL-related option CURLOPT_CHUNK_BGN_FUNCTION. This option was introduced in libcurl version 7.21.0. On installations which require libcurl and have this version, CURLOPT_CHUNK_BGN_FUNCTION will be available. Otherwise, it will not.

  • The pnetcdf support was not properly being used to provide mpi parallel io for netcdf-3 classic files. The wrong dispatch table was being used. NCF-319

  • Fixed bug in ncgen. When classic format was in force (k=1 or k=4), the "long" datatype should be treated as int32. Was returning an error. NCF-318

  • Fixed bug where 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). NCF-317

  • Added a new option, NC_EXTRA_DEPS, for cmake-based builds. This is analogous to LIBS in autotools-based builds. Example usage:

    $ cmake .. -NC_EXTRA_DEPS="-lcustom_lib"

More details may be found at the Unidata JIRA Dashboard. NCF-316

Climate Change - Climate Data Standards - C
Published by WardF over 10 years ago

netcdf-c - NetCDF-C 4.3.3-rc2

4.3.3-rc2 Released 2014-09-24

  • Fixed the code for handling character constants
    in datalists in ncgen. Two of the problems were:

    1. It failed on large constants
    2. It did not handle e.g. var = 'a', 'b', ...
      in the same way that ncgen3 did.
      See NCF-309.
  • Added a new file, netcdf_meta.h. This file is generated automatically at configure time and contains information related to the capabilities of the netcdf library. This file may be used by projects dependent upon netcdf to make decisions during configuration, based on how the netcdf library was built. The macro NC_HAVE_META_H is defined in netcdf.h. Paired with judicious use of #ifdef's, this macro will indicate to developers whether or not the meta-header file is present. See NCF-313.

    Determining the presence of netcdf_meta.h can also be accomplished by methods common to autotools and cmake-based build systems.

  • Changed Doxygen-generated documentation hosted by Unidata to use more robust server-based searching.

  • Corrected embedded URLs in release notes.

  • Corrected an issue where building with HDF4 support with Visual Studio would fail.

Climate Change - Climate Data Standards - C
Published by WardF over 10 years ago

netcdf-c - NetCDF-C 4.3.3-rc1

4.3.3-rc1 Released 2014-08-25

  • Added CMake-based export files, contributed by Nico Schlömer. See https://github.com/Unidata/netcdf-c/pull/74.
  • Fixed ncdump bug for char variables with multiple unlimited dimensions and added an associated test. Now the output CDL properly disambiguates dimension groupings, so that ncgen can generate the original file from the CDL. NCF-310
  • Converted the Manually-maintained FAQ page into markdown and added it to the docs/ directory. This way the html version will be generated when the rest of the documentation is built, the FAQ will be under version control, and it will be in a more visible location, hopefully making it easier to maintain.
  • Bumped minimum required version of cmake to 2.8.12. This was necessitated by the adoption of the new CMAKE_MACOSX_RPATH property, for use on OSX.
  • Jennifer Adams has requested a reversion in behavior so that all dap requests include a constraint. Problem is caused by change in prefetch where if all variables are requested, then no constraint is generated. Fix is to always generate a constraint in prefetch.
    NCF-308
  • Added a new option for cmake-based builds, ENABLE_DOXYGEN_LATEX_OUTPUT. On those systems with make and pdflatex, setting this option ON will result in pdf versions of the documentation being built. This feature is experimental.
  • Bumped minimum CMake version to 2.8.9 from 2.8.8 as part of a larger pull request contributed by Nico Schlömer. Pull Request #64
  • Replaced the NetCDF Library Architecture image with an updated version from the 2012 NetCDF Workshop slides.
  • Fix HDF4 files to support chunking.
    NCF-272
  • NetCDF creates a libnetcdf.settings file after configuration now, similar to those generated by HDF4 and HDF5. It is installed into the same directory as the libraries. NCF-303.
  • Renamed man4/ directory to docs/ to make the purpose and contents clearer. See man4 vs. docs #60.
  • Removed redundant variable BUILD_DOCS from the CMake configuration file. See the issue at github: #59.
  • Added missing documentation templates to man4/Makefile.am, to correct an issue when trying to build the local Doxygen-generated documentation. This issue was reported by Nico Schlömer and may be viewed on github. Releases miss Doxygen files #56
  • When the NC_MPIPOSIX flag is given for parallel I/O access and the HDF5 library does not have the MPI-POSIX VFD configured in, the NC_MPIPOSIX flag is transparently aliased to the NC_MPIIO flag within the netCDF-4 library.

Climate Change - Climate Data Standards - C
Published by WardF over 10 years ago

netcdf-c - NetCDF-C 4.3.2

Below are the release notes for the changes made since the v4.3.1.1 release.

4.3.2 Released 2014-04-23

  • As part of an ongoing project, the Doxygen-generated netcdf documentation has been reorganized. The goal is to make the documentation easier to parse, and to eliminate redundant material. This project is ongoing.
  • The oc .dodsrc reader was improperly handling the user name and password entries. NCF-299
  • CTestConfig.cmake has been made into a template so that users may easily specify the location of an alternative CDash-based Dashboard using the following two options:
    • NC_TEST_DROP_SITE - Specify an alternative Dashboard by URL or IP address.
    • NC_CTEST_DROP_LOC_PREFIX - Specify a prefix on the remote webserver relative to the root directory. This lets CTest accommodate dashboards that do not live at the top level of the web server.
  • Return an error code on open instead of an assertion violation for truncated file.

4.3.2-rc2 Released 2014-04-15

  • Cleaned up a number of CMake inconsistencies related to CMake usage, parallel builds.
  • Now passing -Wl,--no-undefined to linker when appropriate.
  • Corrected an issue preventing large file tests from running correctly under Windows.
  • Misc Bug Fixes detected by static analysis.

4.3.2-rc1 Released 2014-03-20

  • Pre-built Windows downloads will now be bundled with the latest (as of the time of this writing) versions of the various dependencies:
    • hdf5: 1.8.12
    • zlib: 1.2.8
    • libcurl: 7.35.0
  • Added a separate flag to enable DAP AUTH tests. These tests are disabled by default. The flags for autotools and CMAKE-based builds are (respectively):
    • --enable-dap-auth-tests
    • -DENABLE_DAP_AUTH_TESTS
  • Fixed small default chunk size for 1-dimensional record variables. NCF-211
  • Cleaned up type handling in netCDF-4 to fix bugs with fill-values.
  • Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an error occurs.
  • Refactored how types are used for attributes, variables, and committed types, clarifying and categorizing fields in structs, and eliminating duplicated type information between variables and types they use.
  • Made type structure sharable by committed datatypes and variables that use it.
  • Handled string datatypes correctly, particularly for fill value attributes. Expanded testing for string fill values.
  • Simplified iteration of objects in the file when it's opened, tracking fewer objects and using less memory.
  • Enabled netCDF-4 bit-for-bit reproducibility for nccopy and other applications (thanks to Rimvydas Jasinskas and Quincey Koziol) by turning off HDF5 object creation, access, and modification time tracking. NCF-290
  • Addressed an issue where cmake-based builds would not properly create a pkg-config file. This file is now created properly by cmake. NCF-288
  • Addressed an issue related to old DAP servers. NCF-287

Climate Change - Climate Data Standards - C
Published by WardF about 11 years ago

netcdf-c - NetCDF-C 4.3.2-rc2

4.3.2-rc2 Released 2014-04-15

  • Cleaned up a number of CMake inconsistencies related to CMake usage, parallel builds.
  • Now passing -Wl,--no-undefined to linker.
  • Corrected an issue preventing large file tests from running correctly under Windows.
  • Misc Bug Fixes detected by static analysis.

Climate Change - Climate Data Standards - C
Published by WardF about 11 years ago

netcdf-c - NetCD-C 4.3.2-rc1

  • Pre-built Windows downloads will now be bundled with the latest (as of the time of this writing) versions of the various dependencies:
    • hdf5: 1.8.12
    • zlib: 1.2.8
    • libcurl: 7.35.0
  • Added a separate flag to enable DAP AUTH tests. These tests are disabled by default. The flags for autotools and CMAKE-based builds are (respectively):
    • --enable-dap-auth-tests
    • -DENABLE_DAP_AUTH_TESTS
  • Fixed small default chunk size for 1-dimensional record variables. NCF-211
  • Cleaned up type handling in netCDF-4 to fix bugs with fill-values.
  • Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an error occurs.
  • Refactored how types are used for attributes, variables, and committed types, clarifying and categorizing fields in structs, and eliminating duplicated type information between variables and types they use.
  • Made type structure sharable by committed datatypes and variables that use it.
  • Handled string datatypes correctly, particularly for fill value attributes. Expanded testing for string fill values.
  • Simplified iteration of objects in the file when it's opened, tracking fewer objects and using less memory.
  • Enabled netCDF-4 bit-for-bit reproducibility for nccopy and other applications (thanks to Rimvydas Jasinskas and Quincey Koziol) by turning off HDF5 object creation, access, and modification time tracking. NCF-290
  • Addressed an issue where cmake-based builds would not properly create a pkg-config file. This file is now created properly by cmake. NCF-288
  • Addressed an issue related to old DAP servers. NCF-287

Climate Change - Climate Data Standards - C
Published by WardF about 11 years ago

netcdf-c - NetCDF-C 4.3.1.1 (Bugfix Release)

4.3.1.1 Released 2014-02-05

4.3.1.1 Is a bugfix release for netCDF-C 4.3.1.

  • Corrected a DAP issue reported by Jeff Whitaker related to non-conforming servers.
  • Corrected an issue with DAP tests failing in a 64-bit Cygwin environment. NCF-286

Climate Change - Climate Data Standards - C
Published by WardF about 11 years ago

netcdf-c - netCDF-C 4.3.1

Below are the release notes for all changes made since the v4.3.0 release. The notes describe changes in the final release as well as the cumulative change notes for release candidates 1-6.

4.3.1 Released 2014-01-16

  • Add an extended format inquiry method to the netcdf API: nc_inq_format_extended. NC_HAVE_INQ_FORMAT_EXTENDED is defined in netcdf.h NCF-273

4.3.1-rc6 Released 2013-12-19

  • Fixed fill value handling for string types in nc4_get_vara().
  • Corrected behavior of nc_inq_unlimdim and nv_inq_unlimdims to report dimids
    in same order as nc_inq_dimids.
  • Addressed an issue reported by Jeff Whitaker regarding nc_inq_nvars returning an incorrect number of dimensions (this issue was introduced in 4.3.1-rc5). Integrated a test contributed by Jeff Whitaker.
  • A number of previously-disabled unit tests were reviewed and made active.

4.3.1-rc5 Released 2013-12-06

  • When opening a netCDF-4 file, streamline the iteration over objects in the underlying HDF5 file.
  • Fixed netCDF-4 failure when renaming a dimension and renaming a variable using that dimension, in either order. NCF-177
  • When compiling with hdf4 support, both autotools and cmake-based builds now properly look for the libjpeg dependency and will link against it when found (or complain if it's not). Also added ENABLE_HDF4_FILE_TESTS option to CMake-based builds.
  • Fixed bug in ncgen; it was not properly filling empty string constants ("") to be the proper length. NCF-279
  • Fixed bug in ncgen where it was interpreting int64 constants
    as uint64 constants. NCF-278
  • Fixed bug in handling Http Basic Authorization. The code was actually there but was not being executed. NCF-277
  • Added hack to the DAP code to address a problem with the Columbia.edu server. That server does not serve up proper DAP2 DDS replies. The Dataset {...} name changes depending on if the request has certain kinds of constraints. NCF-276
  • Fixed bugs with ncdump annotation of values, using -b or -f
    options. NCF-275

4.3.1-rc4 Released 2013-11-06

  • Addressed an issue on Windows where fstat would report an incorrect file size on files > 4GB. NCF-219
  • Added better documentation about accessing ESG datasets.
    See http://www.unidata.ucar.edu/software/netcdf/docs/esg.html.
  • Corrected an issue with CMake-based builds enabling HDF4 support where the HDF4 libraries were in a non-standard location.
  • Fix bug introduced by NCF-267 where octal constants above
    '\177' were not recognized as proper octal constants. NCF-271
  • Fixed an issue where the netcdf.3 man page was not being installed by CMake-based builds. Github

4.3.1-rc3 Released 2013-09-24

  • Modify ncgen to support NUL characters in character array
    constants. NCF-267
  • Modify ncgen to support disambiguating references to
    an enum constant in a data list. NCF-265
  • Corrected bug in netCDF-4 dimension ID ordering assumptions, resulting in access that works locally but fails through DAP server. NCF-166
  • Added a new configuration flag, NC_USE_STATIC_CRT for CMake-based Windows builds. The default value is 'OFF'. This will allow the user to define whether to use the shared CRT libraries (\MD) or static CRT libraries (\MT) in Visual Studio builds.
  • Ensure netCDF-4 compiles with OpenMPI as an alternative to MPICH2. NCF-160
  • Addressed issue with hanging Parallel netCDF-4 using HDF5 1.8.10. NCF-240
  • Addressed issue with Large File Support on Windows, using both 32 and 64-bit builds. NCF-219
  • Removed deprecated directories:
    • librpc/
    • udunits/
    • libcf/
    • libcdmr/

4.3.1-rc2 Released 2013-08-19

  • Added configure and accompanying configuration files/templates to release repository. These will only be added to tagged releases on GitHub.
  • Integrated a fix by Quincey Koziol which addressed a variation of NCF-250, Fix issue of netCDF-4 parallel independent access with unlimited dimension hanging.
  • Integrated change contributed by Orion Poplawski which integrated GNUInstallDirs into the netCDF-C CMake system; this will permit systems that install into lib64 (such as Fedora) to make install without problem.
  • Corrected an error with the CMake config files that resulted in the netcdf.3 manpage not being built or installed.

4.3.1-rc1 Released 2013-08-09

  • Migrated from the netCDF-C subversion repository to a publically available GitHub repository available at https://github.com/Unidata/netCDF-C. This repository may be checked out (cloned) with the following command:

    $ git clone https://github.com/Unidata/netCDF-C.git

  • Note: in this release, it is necessary to generate the configure script and makefile templates using autoreconf in the root netCDF-C directory.:

    $ autoreconf -i -f

  • Added nc_rename_grp to allow for group renaming in netCDF-4 files. NCF-204

  • Added a NC_HAVE_RENAME_GRP macro to netcdf.h, as per a request by Charlie Zender. This will allow software compiling against netcdf to easily query whether or not nc_rename_grp() is available.

  • Added Greg Sjaardema's contributed optimization for the nc4_find_dim_len function in libsrc4/nc4internal.c. The patch eliminates several malloc/free calls that exist in the original coding.

  • Added support for dynamic loading, to compliment the dynamic loading support introduced in hdf 1.8.11. Dynamic loading support depends on libdl, and is enabled as follows: NCF-258

    • autotools-based builds: --enable-dynamic-loading
    • cmake-based builds: -DENABLE_DYNAMIC_LOADING=ON
  • Fix issue of 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. NCF-250

  • Fixed bug with netCDF-4's inability to read HDF5 scalar numeric attributes. Also allow, in addition to zero length strings, a new NULL pointer as a string value. to improve interoperability with HDF5. This required a new CDL constant, 'NIL', that can be output from ncdump for such a string value in an HDF5 or netCDF-4 file. The ncgen utility was also modified to properly handle such NIL values for strings. NCF-56

  • Parallel-build portability fixes, particularly for OpenMPI and gcc/gfortran-4.8.x on OSX.

  • 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 various minor documentation problems.

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - netCDF-C 4.3.1 Release Candidate 6

  • Fixed fill value handling for string types in nc4_get_vara().
  • Corrected behavior of nc_inq_unlimdim and nv_inq_unlimdims to report dimids in same order as nc_inq_dimids.
  • Addressed an issue reported by Jeff Whitaker regarding nc_inq_nvars returning an incorrect number of dimensions (this issue was introduced in 4.3.1-rc5). Integrated a test contributed by Jeff Whitaker.
  • A number of previously-disabled unit tests were reviewed and made active.

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - Release Notes for netCDF-C v4.3.1-rc5

For full release notes including previous releases, please see

http://www.unidata.ucar.edu/software/netcdf/docs_rc/release_notes.html.

4.3.1-rc5 Released 2013-12-06

  • When opening a netCDF-4 file, streamline the iteration over objects in
    the underlying HDF5 file.
  • Fixed netCDF-4 failure when renaming a dimension and renaming a
    variable using that dimension, in either order. NCF-177
  • When compiling with hdf4 support, both autotools and cmake-based builds now properly look for the libjpeg dependency and will link against it when found (or complain if it's not). Also added ENABLE_HDF4_FILE_TESTS option to CMake-based builds.
  • Fixed bug in ncgen; it was not properly filling empty string constants
    ("") to be the proper length. NCF-279
  • Fixed bug in ncgen where it was interpreting int64 constants
    as uint64 constants. NCF-278
  • Fixed bug in handling Http Basic Authorization.
    The code was actually there but was not being
    executed. NCF-277
  • Added hack to the DAP code to address a problem with the
    Columbia.edu server. That server does not serve up proper
    DAP2 DDS replies. The Dataset {...} name changes depending
    on if the request has certain kinds of
    constraints. NCF-276
  • Fixed bugs with ncdump annotation of values, using -b or -f
    options. NCF-275

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c -

For full release notes including previous releases, please see http://www.unidata.ucar.edu/software/netcdf/docs_rc/release_notes.html.

4.3.1-rc4 Released 2013-11-06

  • Addressed an issue on Windows where fstat would report an incorrect file size on files > 4GB. [NCF-219]
  • Added better documentation about accessing ESG datasets.
    See http://www.unidata.ucar.edu/software/netcdf/docs/esg.html.
  • Corrected an issue with CMake-based builds enabling HDF4 support where the HDF4 libraries were in a non-standard location.
  • Fix bug introduced by [NCF-267] where octal constants above
    '\177' were not recognized as proper octal constants. NCF-271
  • Fixed an issue where the netcdf.3 man page was not being installed by CMake-based builds. Github

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - Release Candidate 3 for netCDF-C 4.3.1

These release notes are for netCDF-C 4.3.1 - rc3. For a complete set of release notes, including all notes for previous releases, please visit:

4.3.1-rc3 Released 2013-09-24

  • Modify ncgen to support NUL characters in character array
    constants. NCF-267
  • Modify ncgen to support disambiguating references to
    an enum constant in a data list. NCF-265
  • Corrected bug in netCDF-4 dimension ID ordering assumptions, resulting in access that works locally but fails through DAP server. NCF-166
  • Added a new configuration flag, NC_USE_STATIC_CRT for CMake-based Windows builds. The default value is 'OFF'. This will allow the user to define whether to use the shared CRT libraries (\MD) or static CRT libraries (\MT) in Visual Studio builds.
  • Ensure netCDF-4 compiles with OpenMPI as an alternative to MPICH2. NCF-160
  • Addressed issue with hanging Parallel netCDF-4 using HDF5 1.8.10. NCF-240
  • Addressed issue with Large File Support on Windows, using both 32 and 64-bit builds. NCF-219
  • Removed deprecated directories:
    • librpc/
    • udunits/
    • libcf/
    • libcdmr/

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - netCDF-C 4.3.0

These release notes apply to the 4.3.0 netCDF Release, and catalog those changes from the previous version. For a complete change history, please see:

4.3.0 Released 2013-04-29

  • fsync: Changed default in autotools config file; fsync must now be
    explicitely enabled instead of explicitely disabled. NCF-239
  • Fixed netCDF-4 bug where odometer code for libdap2 mishandled stride > 1. Bug reported by Ansley Manke. NCF-249
  • Fixed netCDF-4 bug where netCDF would ignore the HDF5 reference type in
    the file, instead of rejecting the file as it should. NCF-29
  • Fixed netCDF-4 bug with particular order of creation of dimensions,
    coordinate variables, and subgroups resulting in two dimensions with the
    same dimension ID. NCF-244
  • Fixed netCDF-4 bug with a multidimensional coordinate variable in a
    subgroup getting the wrong dimension IDs for its dimensions. NCF-247
  • Fixed bug with incorrect fixed-size variable offsets in header getting
    written when schema changed for files created by parallel-netcdf. Thanks
    to Wei-keng Liao for developing and contributing the fix. NCF-234
  • Fixed bug in handling old servers that do not do proper Grid to
    Structure conversions. NCF-232
  • Replaced the oc library with oc2.0
  • Fix bug with nc_get_var1_uint() not accepting unsigned ints larger
    than 2**31. NCF-226
  • Fix to convert occurrences of '/' in DAP names to %2f. NCF-223
  • Fix bug in netCDF-4 with scalar non-coordinate variables with same name
    as dimensions. NCF-222
  • Fix bug in which calling netCDF-4 functions in which behavior that
    should not depend on order of calls sometimes produces the wrong
    results. NCF-217
  • Merged in nccopy additions from Martin van Driel to support -g and -v
    options for specifying which groups or variables are to be copied.
    NCF-216
  • Merged in parallel-netcdf bugs fixes from Greg Sjaardema. NCF-214
  • Modify ncgen so that if the incoming file has a special attribute, then
    it is used to establish the special property of the netcdf file, but the
    attribute is not included as a real attribute in the file. NCF-213.
  • Added library version info to the user-agent string so that the server
    logs will be more informative. NCF-210
  • Added work around for bad servers that sometimes sends DAP dataset with
    duplicate field names. NCF-208
  • Fixed bug with strided access for NC_STRING type. NCF-206
  • Prevented adding an invalid _FillValue attribute to a variable (with
    nonmatching type or multiple values), to avoid later error when any
    record variable is extended. NCF-190
  • Fix bug in which some uses of vlen within compounds causes HDF5 errors.
    NCF-155
  • Fixed ncdump bug in display of data values of variables that use
    multiple unlimited dimensions. NCF-144
  • Fix bug in which interspersing def_var calls with put_var calls can
    lead to corrupt metadata in a netCDF file with groups and inherited
    dimensions. NCF-134
  • Building shared libraries works with DAP and netCDF4 functionality.
    NCF-205
  • 32-and-64-bit builds are working under MinGW on Windows. NCF-112
  • Config.h for Windows compiles are included in the build. NCF-98
  • NetCDF-4 dependency on NC_MAX_DIMS has been removed. NCF-71
  • 64-bit DLL's are produced on Windows. NCF-65
  • DLL Packaging issues are resolved. NCF-54
  • The CMake build system (with related ctest and cdash systems for
    testing) has been integrated into netCDF-C. This allows for Visual
    Studio-based builds in addition to gcc-based builds. This requires at
    least CMake version 2.8.8. This replaces/supplements the cross-compiled
    set of Visual-Studio compatible netCDF libraries introduced in netCDF
    4.2.1-rc1.

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - Release Candidate 2 for netCDF-C 4.3.1.

These release notes are for the netCDF-C 4.3.1 - RC2. For a complete set of release notes, include all notes for previous releases, please visit:

4.3.1-rc2 Released 2013-08-19

  • Added configure and accompanying configuration files/templates to release repository. These will only be added to tagged releases on GitHub.
  • Integrated a fix by Quincey Koziol which addressed a variation of NCF-250, Fix issue of netCDF-4 parallel independent access with unlimited dimension hanging.
  • Integrated change contributed by Orion Poplawski which integrated GNUInstallDirs into the netCDF-C CMake system; this will permit systems that install into lib64 (such as Fedora) to make install without problem.
  • Corrected an error with the CMake config files that resulted in the netcdf.3 manpage not being built or installed.

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago

netcdf-c - Release Candidate 1 for netCDF-C 4.3.1

These release notes are for the netCDF-C 4.3.1 - RC1. For a complete set of release notes, include all notes for previous releases, please visit:

4.3.1-rc1 Released 2013-08-09

  • Migrated from the netCDF-C subversion repository to a publically available GitHub repository available at https://github.com/Unidata/netCDF-C. This repository may be checked out (cloned) with the following command:

    $ git clone https://github.com/Unidata/netCDF-C.git

    • Note: in this release, it is necessary to generate the configure script and makefile templates using autoreconf in the root netCDF-C directory.:

    $ autoreconf -i -f

  • Added nc_rename_grp to allow for group renaming in netCDF-4 files.
    https://bugtracking.unidata.ucar.edu/browse/NCF-204

  • Added a NC_HAVE_RENAME_GRP macro to netcdf.h, as per a request by Charlie Zender. This will allow software compiling against netcdf to easily query whether or not nc_rename_grp() is available.

  • Added Greg Sjaardema's contributed optimization for the nc4_find_dim_len function in libsrc4/nc4internal.c. The patch eliminates several malloc/free calls that exist in the original coding.

  • Added support for dynamic loading, to compliment the dynamic loading support introduced in hdf 1.8.11. Dynamic loading support depends on libdl, and is enabled as follows:

  • Fix issue of 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.

    https://bugtracking.unidata.ucar.edu/browse/NCF-250

  • Fixed bug with netCDF-4's inability to read HDF5 scalar numeric attributes. Also allow, in addition to zero length strings, a new NULL pointer as a string value. to improve interoperability with HDF5. This required a new CDL constant, 'NIL', that can be output from ncdump for such a string value in an HDF5 or netCDF-4 file. The ncgen utility was also modified to properly handle such NIL values for strings.

    https://bugtracking.unidata.ucar.edu/browse/NCF-56

  • Parallel-build portability fixes, particularly for OpenMPI and gcc/gfortran-4.8.x on OSX.

  • 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 various minor documentation problems.

Climate Change - Climate Data Standards - C
Published by WardF over 11 years ago