cf.Units.ispressure

Units.ispressure

True if the units are pressure units, false otherwise.

Examples

>>> Units('bar').ispressure
True
>>> Units('hours since 2100-1-1', calendar='noleap').ispressure
False

Previous topic

cf.Units.islongitude

Next topic

cf.Units.isreftime

This Page