cf.AncillaryVariables.items

AncillaryVariables.items(items=None, role=None, axes=None, ctype=None, exact=False, inverse=False, match_all=True, ndim=None, strict_axes=False)[source]

Return domain items from each field.

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

See cf.Field.items for details.

Parameters:
items : optional

Select items whose properties satisfy the given conditions. See cf.Field.items for details.

role : (sequence of) str, optional

Select items of the given roles. See cf.Field.items for details.

ctype : (sequence of) str, optional

Select dimension and auxiliary coordinate object items of the given CF types. See cf.Field.items for details.

axes : optional

Select items which span at least one of the specified axes, taken in any order (as well as possibly spanning other, unspecified axes). See cf.Field.items for details.

ndim : int or cf.Query, optional

DCH

Select items whose ranks satisfy the given condition, where an item’s rank is the number of axes which it spans. See cf.Field.items for details.
exact : bool, optional
The exact argument applies to the interpretion of particular conditions given by values of the items argument. See cf.Field.items for details.
inverse : bool, optional
If True then select items other than those selected by all other criteria. See cf.Field.items for details.
match_all : bool, optional
The match_all argument applies to the interpretion of dictionaries given by the items argument. See cf.Field.items for details.
strict_axes : bool, optional
The strict_axes argument applies to the interpretion of axes argument. See cf.Field.items for details.
Returns:
out : dict

For each field, a dictionary whose keys are domain item identifiers with corresponding values of items of the domain.

Previous topic

cf.AncillaryVariables.item_axes

Next topic

cf.AncillaryVariables.iter

This Page