Previous: Of what use is a utility to copy netCDF files? Next: The Problem Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software

25.2 Lessons learned from developing nccopy
Was anything useful learned in developing the generic netCDF program nccopy?
  1. Development of nccopy did uncover some missing functionality that had been overlooked in designing the original netCDF-4 API, requiring several two new functions
  2. Subsequent development of the nccopy utility for the netCDF-4 enhanced data model demonstrated the completeness and utility of the netCDF-4 API.
  3. The nccopy4.c program required about twice as much code as nccopy3.c, providing an estimate for effort to adapt generic netCDF-3 software to handle netCDF-4:
      $ wc nccopy3.c nccopy4.c      # wc reports number of lines, words, characters
        493  1744 13273 nccopy3.c
        910  3367 26154 nccopy4.c
      
  4. The nccopy development also revealed the need for some higher-level APIs to make generic netCDF software development easier, such as iterator interfaces.

 


Previous: Of what use is a utility to copy netCDF files? Next: The Problem Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software