cf.Coordinate.shape

Coordinate.shape

A tuple of the data array’s dimension sizes.

See also

data, hasdata, ndim, size

Examples:
>>> f.shape
(73, 96)
>>> f.ndim
2
>>> f.ndim
0
>>> f.shape
()
>>> f.hasdata
True
>>> len(f.shape) == f.dnim
True
>>> reduce(lambda x, y: x*y, f.shape, 1) == f.size
True