[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #GWX-519513]: NCVDEF netcdf Name error



Hi Vinit,

I'll assume the lines at the end of the output were printing out the variable
name strings just before calling NCVDEF to define each netCDF variable:

  ...
 printout start test4
 FOrg
 SOrg
 Clay
 Calt
 Arag
 SiO2
 MnO
 FeO
 FeS
 UO2
 MnCO
 3

The error message you are getting from NCVDEF is correct, because the
version of the library you are using requires that names begin with an
alphabetic character or '_' and that subsequent characters be alphanumeric
or a few other special characters, such as '-', '+', or '.'.  The last
variable name printed violates these rules.

If that is the variable name you intended to use, you will have to build
a recent netCDF snapshot test release that permits leading numeric
characters in variable names and Unicode characters.

Otherwise it appears that the variable name you intended to use has been
overwritten.  This may indicate a bug in the program that is not related to
the netCDF library.  The fact that the program works on a different
computer with the same code is a mystery, but may indicate configuration
differences, a nondeterministic bug that points to doing something that
causes undefined behavior, or a hardware problem.  Sorry we can't be of
more help ...

--Russ



Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: GWX-519513
Department: Support netCDF
Priority: Normal
Status: Closed