cf.Units.ispressure

Units.ispressure

True if the units are pressure units, false otherwise.

Examples:
>>> Units('bar').ispressure
True
>>> Units('hPa').ispressure
True
>>> print Units('meter^-1-kilogram-second^-2').ispressure
True
>>> Units('hours since 2100-1-1', calendar='noleap').ispressure
False

Previous topic

cf.Units.islongitude

Next topic

cf.Units.isreftime

This Page