cf.celllt¶
-
cf.
celllt
(value, units=None)[source]¶ A
Query
object 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:
str
orUnits
, 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.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)>