Return a cf.Query object for a variable for being greater than or equal to a value.
Parameters: |
|
---|---|
Returns: |
|
Examples: |
>>> q = cf.ge(5)
>>> q
<CF Query: x ge 5>
>>> q.evaluate(5)
True
>>> q.evaluate(4)
False
>>> cf.ge(10, 'm')
<CF Query: (ge <CF Data: 10 m>)>
>>> cf.ge(100, cf.Units('kg'))
<CF Query: (ge <CF Data: 100 kg>)>
>>> cf.ge(2, attr='month')
<CF Query: month(ge 2)>