cf.FieldList.ref

FieldList.ref(item=None, key=False, **kwargs)[source]

Return a coordinate reference object, or its domain identifier, from each field.

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

See cf.Field.ref for details.

Parameters:
item, kwargs : optional

See cf.Field.ref for details.

key : bool, optional

See cf.Field.ref for details.

Returns:
out : cf.List

For each field, the unique coordinate reference object or its domain identifier or, if there isn’t a unique item, None.

Previous topic

cf.FieldList.range

Next topic

cf.FieldList.refs

This Page