cf.FieldList.ndim

FieldList.ndim

The ndim attribute for each field.

fl.ndim is equivalent to cf.List(f.ndim for f in fl).

See cf.Field.ndim for details.

Returns :
out : cf.List of ints

The number of data array axes for each field.

Examples

>>> len(fl
4
>>> fl.ndim
[3, 2, 0, 3]

Previous topic

cf.FieldList.mask

Next topic

cf.FieldList.shape

This Page