cf.CellMethods.has_cellmethod

CellMethods.has_cellmethod(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.equivalent

Next topic

cf.CellMethods.netcdf_translation

This Page