Previous: Other NetCDF Utilities Next: Overview Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers

5 NetCDF APIs
Summary of various application programming interfaces (APIs) for netCDF data access.

5.0  Overview
NetCDF APIs are available for most programming languages used in the geosciences.
5.1  The C API
The C library is the core implementation on which non-Java interfaces are built.
5.2  C API Example
C API example for reading data.
5.3  The C++ API
The C++ library provided the first object-oriented API for netCDF.
5.4  The Fortran-77 API
The Fortran-77 library provided early Fortran support for modelers and scientists.
5.5  The Fortran-90 API
The Fortran-90 library provides current Fortran support for modelers and scientists.
5.6  The Java API
The netCDF Java library provides advanced capabilities not yet available in other language interfaces.
5.7  Architecture of NetCDF APIs and Libraries
Knowing how netCDF APIs are layered is sometimes useful for understanding performance and error handling.
5.8  Python APIs
There are at least six Python libraries for netCDF.
5.9  The Ruby API
The Ruby API for netCDF was contributed as part of the Dennou Ruby Project, providing software for data analyses, visualization, and numerical simulations for geophysical studies.
5.10  Perl APIs
Two Perl APIs for netCDF are PDL::NetCDF and NetCDFPerl.
5.11  Other APIs for netCDF
Other APIs for netCDF have been contributed and made available for MATLAB, IDL, and R.
5.12  Some Common Errors to Avoid
Here is a list of some common errors to avoid in using netCDF APIs, based on support questions and experience assisting users.

 


Previous: Other NetCDF Utilities Next: Overview Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers