NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Does exist an Error list?

"Jesus E. Gabaldon" <jesus.gabaldon@xxxxxxxxxx> asked:

> Does anybody know where I can find a description list for the numerical
> netCDF errors reported during execution?

The C function nc_strerror(int err) returns a string describing the
error specified by its argument.  There are corresponding functions in
some of the other language interfaces (NF_STRERROR() for Fortran 77,
NF90_STRERROR() for Fortran 90), but no such function in the C++
interface currently.

A list of the descriptive strings for each error is also available in
the file src/libsrc/error.c in the source distribution or in the
comments in include/netcdf.h in the binary distribution.  This list
should probably be added to the Users Guides as well.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
russ@xxxxxxxxxxxxxxxx                     http://www.unidata.ucar.edu

  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: