cf.CellMethods.has_cellmethods

CellMethods.has_cellmethods(other)[source]

Return True if and only if this cell methods is a super set of another.

Parameters :
other : CellMethods

The other cell methods for comparison.

Returns :
out : bool

Whether or not this cell methods is a super set of the other.

Examples

>>> c = cf.CellMethods('time: mean height: mean area: mean')
>>> d = cf.CellMethods('area: mean time: mean')
>>> c.has_cellmethods(d)
True

Previous topic

cf.CellMethods.extend

Next topic

cf.CellMethods.index

This Page