Previous: Lessons learned from developing nccopy Next: A Solution Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software

25.3 The Problem
How can you write code to process all the values of any multidimensional variable?

The nccopy utility solves this problem with iterators, implemented in C.

Ideally, a solution should use the same code to efficiently handle

Example applications: copy all values, compute the average of all values, determine how many fill values, run some function on each value of a variable, etc.


 


Previous: Lessons learned from developing nccopy Next: A Solution Table of contents Frames 2012 Unidata NetCDF Workshop > Developing generic netCDF software