cf.Field.properties

Field.properties(props=None, clear=False, copy=True)[source]

Inspect or change the CF properties.

Examples 1:
>>> f.properties()
Parameters:
props: dict, optional

Set field attributes from the dictionary of values. If the copy parameter is True then the values in the attrs dictionary are deep copied

clear: bool, optional

If True then delete all CF properties.

copy: bool, optional

If True then the values in the returned dictionary are deep copies of the field’s attribute values. By default they are not copied.

Returns:
out: dict

The CF properties prior to being changed, or the current CF properties if no changes were specified.

Examples 2: