cf.celllt¶
-
cf.celllt(value, units=None)[source]¶ A
Queryobject for a “cell bounds strictly less than” condition.See also
cf.cellsize,cf.contains,cf.cellge,cf.cellgt,cf.cellne,cf.cellle,cf.cellwi,cf.cellwo- Parameters
- value:
The query condition’s value.
- units:
strorUnits, 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
Dataobject), then the pair of units must be equivalent.
- Returns
QueryThe query object.
Examples
>>> cf.celllt(cf.Data(300, 'K')) <CF Query: upper_bounds(lt 300 K)> >>> cf.celllt(300, units='K') <CF Query: upper_bounds(lt 300 K)> >>> cf.celllt(300) <CF Query: upper_bounds(lt 300)>