cf.NetCDFArray.get_varid

NetCDFArray.get_varid()[source]

The UNIDATA netCDF interface ID of the variable containing the array.

Examples:

>>> print(a.netcdf)
'tas'
>>> print(a.varid)
None
>>> print(a.netcdf)
None
>>> print(a.varid)
4