units¶
Module to provide unit support.
This makes use of the pint library and sets up the default settings
for good temperature support.
- 
metpy.units.units¶
- The unit registry used throughout the package. Any use of units in MetPy should import this registry and use it to grab units. - Type
- pint.UnitRegistry
 
Functions
| 
 | Convert inputs to arrays with at least one dimension. | 
| 
 | Convert inputs to arrays with at least two dimensions. | 
| 
 | Create a decorator to check units of function arguments. | 
| 
 | Concatenate multiple values into a new unitized object. | 
| 
 | Calculate the n-th discrete difference along given axis. | 
| 
 | Create a  | 
| 
 | Attach units to data in pandas dataframes and return united arrays. | 
Exceptions
| 
 | Raised when trying to convert between incompatible units. | 
| 
 | Raised when the units are not defined in the unit registry. |