Go to file
2016-05-13 23:14:42 +00:00
autom4te.cache Added autoconf generated files. 2016-05-13 23:14:42 +00:00
cxx4 Added autoconf generated files. 2016-05-13 23:14:42 +00:00
docs Added autoconf generated files. 2016-05-13 23:14:42 +00:00
examples Added autoconf generated files. 2016-05-13 23:14:42 +00:00
m4 Added autoconf generated files. 2016-05-13 23:14:42 +00:00
.gitignore Updated the .gitignore. 2015-04-24 16:58:09 -06:00
.travis.yml Corrected path issue in travis configuration. 2016-01-12 14:52:51 -07:00
aclocal.m4 Added autoconf generated files. 2016-05-13 23:14:42 +00:00
cmake_uninstall.cmake.in Adding install/uninstall framework similar to that found in netcdf-c. 2016-01-25 14:49:16 -07:00
CMakeInstallation.cmake Always use CMAKE_CURRENT_{SOURCE|BINARY}_DIR 2016-04-25 17:04:09 +03:00
CMakeLists.txt Modified version to reflect 4.3.0 release. 2016-05-13 23:12:20 +00:00
compile Added autoconf generated files. 2016-05-13 23:14:42 +00:00
config.guess Added autoconf generated files. 2016-05-13 23:14:42 +00:00
config.h.in Added autoconf generated files. 2016-05-13 23:14:42 +00:00
config.sub Added autoconf generated files. 2016-05-13 23:14:42 +00:00
configure Added autoconf generated files. 2016-05-13 23:14:42 +00:00
configure.ac Added call for maintainer mode. 2016-05-13 23:14:12 +00:00
COPYRIGHT new 2011-08-17 18:56:14 +00:00
CTestConfig.cmake.in Added coveragte tests, other ctest-related configuration. 2015-04-15 03:29:27 -06:00
CTestCustom.cmake Initisl fleshing out of cmake file in cxx4 directory. 2015-04-13 01:42:05 -06:00
depcomp Added autoconf generated files. 2016-05-13 23:14:42 +00:00
install-sh Added autoconf generated files. 2016-05-13 23:14:42 +00:00
libnetcdf-cxx.settings.in Removed some unrelated stuff in libnetcdf-cxx.settings template. 2015-04-24 16:46:07 -06:00
ltmain.sh Added autoconf generated files. 2016-05-13 23:14:42 +00:00
Makefile.am More work wiring in doxygen with autotools. 2016-01-25 16:13:30 -07:00
Makefile.in Added autoconf generated files. 2016-05-13 23:14:42 +00:00
missing Added autoconf generated files. 2016-05-13 23:14:42 +00:00
ncxx4-config.in Fix multilib and underlinking problems in pkg-config files 2014-01-01 18:22:05 +01:00
netcdf-cxx4.pc.in Fix multilib and underlinking problems in pkg-config files 2014-01-01 18:22:05 +01:00
README.md Updated .travis.yml file. 2015-04-24 16:10:37 -06:00
RELEASE_NOTES.md Updated version string, SO versions. 2016-05-13 16:50:49 -06:00
test-driver Added autoconf generated files. 2016-05-13 23:14:42 +00:00

Build Status

netcdf-cxx4

Official GitHub repository for netCDF-4 C++ library.

Note: The latest release of the historic C++ libraries, netCDF-4.2, may be downloaded from the following page:

Introduction

Lynton Appel, of the Culham Centre for Fusion Energy (CCFE) in Oxfordshire, has developed and contributed a Oxfordshire, has developed and contributed a netCDF-4 C++ library that depends on an installed netCDF-4 C library. The netCDF-4 C++ API was developed for use in managing fusion research data from CCFE's innovative MAST (Mega Amp Spherical Tokamak) experiment.

Appel's C++ implementation is a complete read/write interface for netCDF-4, but can also be used as an alternative to the older netCDF-3 C++ interface, to write classic-format netCDF-3 files as well as netCDF-4 classic model files. The new API is implemented as a layer over the netCDF-4 C interface, which means bug fixes and performance enhancements in the C interface will be immediately available to C++ developers as well. It replaces a previous partial netCDF-4 C++ interface developed by Shanna Forbes.

The new API makes use of standard C++ features such as namespaces, exceptions, and templates, none of which were included in the first netCDF-3 C++ API developed in the mid-90's. The earlier netCDF-3 C++ API is still supported and available in the source distribution, but developers who are thinking of eventually upgrading to use of the enhanced data model should consider using Lynton's new API.

We're grateful for Appel's development and CCFE's contribution of the new open-source code for the netCDF-4 C++ API, and hope C++ developers in the netCDF community will find it useful! Feedback is appreciated, and should be directed to Lynton Appel.

Installation

Installing the C++ interface requires the additional flag --enable-netcdf-4 to be used during the configure stage of the installation, for example enter

  ./configure --enable-cxx-4 [plus other options]

Note that the "configure" script must be generated using

  autoreconf -if

To build the C++ interface guide, change to the cxx4 directory of the distribution and enter

  doxygen

By default, HTML documentation will be installed in cxx4/doc/html; other options may be specified according to the settings contained in the file "Doxyfile" (details of alternative settings are documented at doxygen). Note that as a prerequisite for generating the documentation, the system will need to have doxygen and Graphviz installed.

Examples of usage

Examples codes can be found by selecting the "Examples" tab.