cfdm.Field.dump

Field.dump(display=True, _level=0, _title=None)[source]

A full description of the field construct.

Returns a description of all properties, including those of metadata constructs and their components, and provides selected values of all data arrays.

New in version (cfdm): 1.7.0

Parameters
display: bool, optional

If False then return the description as a string. By default the description is printed.

Returns
str or None

The description. If display is True then the description is printed and None is returned. Otherwise the description is returned as a string.