nc_varinq_nameΒΆ
The nc_varinq_name function returns the name of a netCDF variable when given its ID.
-
ssName = nc_varinq_name(ncid, varid)
-
ssName = nc_varinq_name(ncid, varid, bToUnderscore)
Return Value
ssName is the name of a netCDF variable with the ID varid. If an error occurs, ssName is an empty string.
Parameters
-
ncid
Identifies the netCDF file.
-
varid
varid is the ID of the netCDF variable.
-
bToUnderscore
If bToUnderscore is TRUE (1) the special characters in the channel name are replaced by underscores. For the value 0 the special characters remain in the channel name. Allowed spezial characters:
.
,-
,+
,$
,#
,~
,!
,^
,&
,%
Defaul value is FALSE (0).
History
Version | Description |
---|---|
5.14.5 | Optional third parameter. |
See also
id-522741