cf.CellMethod.has_axes¶
-
CellMethod.
has_axes
()[source]¶ Whether the axes of the cell method have been set.
New in version (cfdm): 1.7.0
Examples:
>>> c = cf.CellMethod() >>> c.set_axes('domainaxis1') >>> c.has_axes() True >>> c.get_axes() ('domainaxis1',) >>> c.del_axes() ('domainaxis1',) >>> c.has_axes() False >>> c.get_axes('NO AXES') 'NO AXES' >>> c.del_axes('NO AXES') 'NO AXES'