2.1 NetCDF Library Interface Descriptions
Each interface description for a particular netCDF function in this
and later chapters contains:
- a description of the purpose of the function;
- a C function prototype that presents the type and order of the formal
parameters to the function;
- a description of each formal parameter in the C interface;
- a list of possible error conditions; and
- an example of a C program fragment calling the netCDF function (and
perhaps other netCDF functions).
The examples follow a simple convention for error handling, always
checking the error status returned from each netCDF function call and
calling a handle_error function in case an error was detected. For an
example of such a function, see nc_strerror.