nc_attinq_lenΒΆ

nc_attinq_len returns the number of values stored in the attribute. If the attribute is of type NC_CHAR, the function returns the string length.

len = nc_attinq_len(ncid, varid, ssName)

Return Value

len is the number of values stored in the attribute.

Parameters

ncid

Identifies the netCDF file.

varid

varid is the ID of the variable or -1 for a global attribute

ssName

ssName is the the name of the attribute.

id-173685