Previous: A Solution Next: Third-party netCDF packages: NCO, NCL, CDO Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software

25.5 Benefits of Iterators
Use of an iterator simplifies the code and makes it general.

Benefits of using this iterator API include:

Other iterator functions used in nccopy iterate through all groups in an arbitrary group hierachy for netCDF-4 files, eliminating need for recursion to traverse groups.

These iterator APIs are available now in C source, but will be exposed and documented in a future version of the APIs, including Fortran support.

 


Previous: A Solution Next: Third-party netCDF packages: NCO, NCL, CDO Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software