cfdm.CFDMImplementation.set_construct

CFDMImplementation.set_construct(parent, construct, axes=None, copy=True, **kwargs)[source]

Insert a construct into a field or domain.

Added in version (cfdm): 1.10.0.2

Parameters:
parent: Field or Domain

On what to set the construct

construct:

The construct to set.

axes: tuple or None, optional

The construct domain axes, if applicable.

copy: bool, optional

Whether or not to set a copy of construct.

kwargs: optional

Additional parameters to the set_construct of parent that may be used by subclasses.

Returns:
str

The construct identifier.