NetCDF 4.2.1 Release

The Unidata netCDF group is pleased to announce the 4.2.1 release of the netCDF C libraries:

This release contains two important new features as well as performance enhancements, bug fixes, and documentation improvements. It is designed to be compatible with existing netCDF data and software.

Detailed information about the release is available in the Release Notes.

Source code and documentation are available from the NetCDF Distributions page.

Windows Build

The first new feature is portability to Windows platforms, both 32-bit and 64-bit.

From the same source code used for other platforms, you can now build static or shared libraries (DLL's) for 32- or 64-bit Windows that include support for DAP remote access, netCDF-3, and netCDF-4/HDF5 compatibility. The environment for this build is MSYS/MinGW/MinGW64, and the resulting DLLs may be used with Visual Studio. We have plans to continue integrating Windows support for even simpler integration with Windows Visual Studio builds by using CMake as the build system in a subsequent release of C-based netCDF. We will also be including support for using Fortran with Windows in an upcoming version of the netCDF Fortran package.

See the NetCDF 4.2 for Windows page for information, compilation instructions, or to download the pre-compiled libraries.

Diskless netCDF Files

The second new feature is diskless netCDF "files" for all netCDF formats, implemented with no API changes except an extra mode flag on file creation or open. For file creation, diskless operation performs all operations in memory and then optionally persists the results to a file on close. When opening an existing netCDF classic format disk file, diskless operation caches the file in-memory, performs all operations on the memory resident version and then writes all changes back to the original file on close. (NetCDF-4 enhanced model files can be read, but not written, in diskless mode in this release.)

For files that will fit in memory, the diskless feature can improve performance significantly for some kinds of data manipulation, such as

  • Converting record variables to use fixed-size dimensions and contiguous storage for faster variable-at-a-time access
  • Rechunking storage to match common access patterns, for example fast time-series access for data organized with time as the slowest varying dimension

See the documentation for nc_create and nc_open for details

We encourage upgrading to the new release. This release fixes a number of bugs, described in the release notes.

As a reminder, the C, Fortran, and C++ libraries are no longer bundled together. Fortran and C++ releases depend on the netCDF C library, and may be built after the C library is built and installed. The latest Fortran and C++ libraries are compatible with this C library release candidate, and will benefit from some of its improvements.

Similarly, udunits and libcf libraries have not been bundled with netCDF since release 4.1.3. They are available as separate source distributions from their respective web sites, under the unidata.ucar.edu homepage.

Comments:

Thanks for your post. What you mean is that C library must be built and installed after netCDF?

Posted by duric on September 14, 2012 at 04:10 PM MDT #

Hi Duric,

No, it just means that the netCDF C library should be installed first, since other netCDF libraries for Fortran and C++, for example, depend on the netCDF C library.

For more information on installing netCDF, please see the "Building netCDF" page at http://www.unidata.ucar.edu/software/netcdf/docs/building.html

--Russ

Posted by 67.190.4.13 on September 16, 2012 at 06:19 AM MDT #

Post a Comment:
Comments are closed for this entry.
News@Unidata
News and information from the Unidata Program Center
News@Unidata
News and information from the Unidata Program Center

Welcome

FAQs

Developers’ blog

Take a poll!

What if we had an ongoing user poll in here?

Browse By Topic
Browse by Topic
« November 2024
SunMonTueWedThuFriSat
     
2
3
4
5
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
       
Today