The NCDF_VARID function returns the ID of a netCDF variable. This function returns -1 if the variable does not exist.
Result = NCDF_VARID( Cdfid, Name )
The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.
A scalar string containing the variable name.
See NCDF_VARDEF .