Previous: Reading a NetCDF Dataset with Unknown Names Next: Remote Access to Datasets Through netCDF-3 Table of contents Frames 2010 Unidata NetCDF Workshop > Introduction to the NetCDF APIs and Example Programs

9.27 Issues in Writing Generic NetCDF Software
There are several issues to be aware of in writing software designed to read arbitrary netCDF data.

The general structure of utility programs, such as the NCO utilities or programs to copy netCDF data from a source file to a target file is straightforward:

This last step can be tricky, because:

NetCDF-4 note:  The enhanced data model for netCDF-4 adds arbitrarily nested groups and nested user-defined data types that include variable length arrays. These add a need for recursion and object-oriented programming to deal with a potentially infinite number of types.

 


Previous: Reading a NetCDF Dataset with Unknown Names Next: Remote Access to Datasets Through netCDF-3 Table of contents Frames 2010 Unidata NetCDF Workshop > Introduction to the NetCDF APIs and Example Programs