cf.NetCDFArray.get_varid

NetCDFArray.get_varid()[source]

The UNIDATA netCDF interface ID of the array’s variable.

New in version (cfdm): 1.7.0

Examples:

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