Previous topic   Next topic   This Page   nc_varid returns the
ID of a netCDF variable when given its name.  varid =
nc_varid(ncid, ssName)  Return Value  varid is the ID of the
variable ssName. If an error occurs, varid is -1.    Identifies
the netCDF file.   ssName is the name of the netCDF variable.
In UniPlot 5.14.5 channel names may contain the following
special characters: ., -, +, $, #, ~, !, ^, &, %. To avoid
problems with the formula interpreter, data exchange or
compatibility problems, the channel name can be used with
underscores instead of the special characters. Example: A NC-
file contains a the channel AI50%+m. The following two calls
will return the correct, identical varid:  varid =
nc_varid(ncid, "AI50%+m"); varid = nc_varid(ncid, "AI50__m");
If the NC file contains channel names which only differ in
special characters the function may return different varids. The
reason is that the function returns the first channel id that
matches the channel name. Example: A NC file contains the
followi