cfdm.Constructs.todict

Constructs.todict(copy=False)[source]

Return a dictionary of the metadata constructs.

Added in version (cfdm): 1.8.9.0

Parameters:
copy: bool, optional

If True then deep copy the metadata construct values.

Returns:
dict

The dictionary representation, keyed by construct identifiers with metadata construct values.