cf.NetCDFArray.get_varid

NetCDFArray.get_varid()[source]

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

New in version (cfdm): 1.7.0

Examples:

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