cf.Constructs.ordered

Constructs.ordered()[source]

Return the contructs in their predetermined order.

For cell method constructs, the predetermined order is that in which they where added.

New in version 1.7.0.

Returns
collections.OrderedDict

The constructs and their construct keys, in their predetermined order.

Examples:

>>> print(c)
onstructs:
{'cellmethod0': <CellMethod: domainaxis1: domainaxis2: mean>,
 'cellmethod1': <CellMethod: domainaxis3: maximum>}
>>> c.ordered()
OrderedDict([('cellmethod0', <CellMethod: domainaxis1: domainaxis2: mean>),
             ('cellmethod1', <CellMethod: domainaxis3: maximum>)])