cfdm.Field.set_mesh_id¶
-
Field.
set_mesh_id
(mesh_id)[source]¶ Set a UGRID mesh topology identifier.
Different field constructs with the same mesh topology identifier may be assumed to have domains with a shared UGRID mesh topology.
New in version (cfdm): 1.11.0.0
See also
Examples
>>> c = cfdm.Field() >>> c.set_mesh_id('df71b85a99894af094411e7cd21c5d68') >>> c.has_mesh_id() True >>> c.get_mesh_id() 'df71b85a99894af094411e7cd21c5d68' >>> c.del_mesh_id() 'df71b85a99894af094411e7cd21c5d68' >>> c.has_mesh_id() False >>> print(c.del_mesh_id(None)) None >>> print(c.get_mesh_id(None)) None