Previous: Using NetCDF: The Cooperative Arctic Data and Information
  Service (CADIS) Next: The Problem Table of contents Frames 2011 Unidata NetCDF Workshop

24 Use of Iterators for Data Access
A technique developed for the nccopy utility is of more general use to tool developers: use of iterators.

24.0  The Problem
How can you write code to process all the values of any multidimensional variable?
24.1  A Solution
The nccopy utility solves this problem with iterators, implemented in C.
24.2  Benefits of Iterators
Use of an iterator simplifies the code and makes it general.

 


Previous: Using NetCDF: The Cooperative Arctic Data and Information
  Service (CADIS) Next: The Problem Table of contents Frames 2011 Unidata NetCDF Workshop