cf.CoordinateBounds.hasprop

CoordinateBounds.hasprop(prop)[source]

Return True if the variable has a CF property.

Parameters :
prop : str

The name of the property.

Returns :
out : bool

True if the instance has the property.

Examples

>>> f.hasprop('standard_name')
True
>>> f.hasprop('foo')
False

Previous topic

cf.CoordinateBounds.getprop

Next topic

cf.CoordinateBounds.identity

This Page