cf.ge

cf.ge(value, units=None)

Return an object for testing whether a variable is greater than or equal to the given value.

Parameters :
value

The value which a variable is to be compared with.

Returns :
out : Comparison

A Comparison object which will evaluate whether or not the comparison evaluates to True.

Examples

>>> c = cf.ge(5)
>>> c
<CF Comparison: x ge 5>
>>> c.evaluate(5)
True
>>> c.evaluate(4)
False

Previous topic

cf.eq

Next topic

cf.gt

This Page