cfdm.CFDMImplementation.convert

CFDMImplementation.convert(field=None, construct_id=None)[source]

Convert a metadata construct into a field construct.

Only metadata constructs that can have data may be converted and they can be converted even if they do not actually have any data. Constructs such as cell methods which cannot have data cannot be converted.

Parameters:

field: field construct

construct_id: str

Returns:

Field construct