cfdm.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

>>> f = cfdm.example_field(0)
>>> c = f.constructs
>>> c_values = c.values()
>>> print(c_values)
dict_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>])
>>> 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>]