cf.FieldList.datum

FieldList.datum(*index)[source]

Return an element of the data array of each field as a standard Python scalar.

fl.datum(*index) is equivalent to cf.List(f.datum(*index) for f in fl).

See cf.Field.datum for details.

Return :
out : cf.FieldList

For each field, the requested element of the data array.

Previous topic

cf.FieldList.data_axes

Next topic

cf.FieldList.delattr

This Page