cf.Units.ispressure¶
-
Units.
ispressure
¶ True if the units are pressure units, false otherwise.
See also
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