cf.Field.hasdata

Field.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

Previous topic

cf.Field.dtype

Next topic

cf.Field.ndim

This Page