Previous: Reading a NetCDF Dataset with Unknown Names Next: Formats and Performance Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs

6.14 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 all 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: Formats and Performance Table of contents Frames User guide
2008 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs