Return an object for testing whether a variable is less than or equal to the given value.
The value which a variable is to be compared with.
If applicable, the units of value. By default, the same units as the variable being tested are assumed.
A cf.Comparison object which will evaluate whether or not the comparison evaluates to True.
Examples
>>> c = cf.le(5) >>> c <CF Comparison: x le 5> >>> c.evaluate(5) True >>> c.evaluate(6) False
cf.gt
cf.lt
Enter search terms or a module, class or function name.