cf.DomainAncillary.hasdata

DomainAncillary.hasdata

True if there is a data array.

If present, the data array is stored in the data attribute.

See also

data, hasbounds

Examples:
>>> if f.hasdata:
...     print f.data