Previous: Using NetCDF: IDV and NCL Next: Overview Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers

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

10.0  Overview
NetCDF APIs are available for most programming languages used in the geosciences.
10.1  The C API
The C library is the core implementation on which non-Java interfaces are built.
10.2  C API Example
C API example for reading data.
10.3  The C++ API
The C++ library provided the first object-oriented API for netCDF.
10.4  The Fortran-77 API
The Fortran-77 library provided early Fortran support for modelers and scientists.
10.5  The Fortran-90 API
The Fortran-90 library provides current Fortran support for modelers and scientists.
10.6  The Java API
The netCDF Java library provides advanced capabilities not yet available in other language interfaces.
10.7  Architecture of NetCDF APIs and Libraries
Knowing how netCDF APIs are layered is sometimes useful for understanding performance and error handling.
10.8  Python APIs
There are at least six Python libraries for netCDF.
10.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.
10.10  Perl APIs
Two Perl APIs for netCDF are PDL::NetCDF and NetCDFPerl.
10.11  Other APIs for netCDF
Other APIs for netCDF have been contributed and made available for MATLAB, IDL, and R.
10.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: Using NetCDF: IDV and NCL Next: Overview Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers