2.2 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 FORTRAN 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 FORTRAN 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 Section 5.2 "Get error message
corresponding to error status: nc_strerror".