Previous: A Solution Next: Example of the Importance of the Chunk Cache Table of contents Frames 2011 Unidata NetCDF Workshop > Use of Iterators for Data Access

24.2 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: Example of the Importance of the Chunk Cache Table of contents Frames 2011 Unidata NetCDF Workshop > Use of Iterators for Data Access