cf.cellge

cf.cellge(value, units=None)[source]

A Query object for a “cell bounds greater than or equal” condition.

Parameters
value:

The query condition’s value.

units: str or Units, optional

The units of value. By default, the same units as the operand being tested are assumed, if applicable. If units is specified and value already has units (such as those attached to a Data object), then the pair of units must be equivalent.

Returns
Query

The query object.

Examples

>>> cf.cellge(cf.Data(300, 'K'))
<CF Query: lower_bounds(ge 300 K)>
>>> cf.cellge(cf.Data(300, 'K'))
<CF Query: lower_bounds(ge 300 K)>
>>> cf.cellge(300)
<CF Query: lower_bounds(ge 300)>