cf.Constructs.values

Constructs.values()[source]

Return all of the metadata constructs, in arbitrary order.

New in version (cfdm): 1.7.0

See also

get, items, keys

Returns
dict_values

The constructs as a Python dict_values iterator.

Examples:

>>> c = cf.example_field(0)
>>> c_values = c.constructs.values()
>>> print(c_values)
dict_values([
    <DimensionCoordinate: latitude(5) degrees_north>,
    <DimensionCoordinate: longitude(8) degrees_east>,
    <DimensionCoordinate: time(1) days since 2018-12-01 >,
    <CellMethod: area: mean>,
    <DomainAxis: size(5)>,
    <DomainAxis: size(8)>,
    <DomainAxis: size(1)>
])
>>> type(c_values)
<class 'dict_values'>
>>> list(c_values)
[<DimensionCoordinate: latitude(5) degrees_north>,
 <DimensionCoordinate: longitude(8) degrees_east>,
 <DimensionCoordinate: time(1) days since 2018-12-01 >,
 <DomainAxis: size(5)>,
 <DomainAxis: size(8)>,
 <DomainAxis: size(1)>,
 <CellMethod: area: mean>]