MetPy
0.8
latest
dev
Installation Guide
Unit Support
MetPy Examples
MetPy Tutorials
The MetPy API
constants
units
atleast_1d
atleast_2d
check_units
concatenate
diff
masked_array
pandas_dataframe_to_unit_arrays
PintAxisInfo
PintConverter
DimensionalityError
UndefinedUnitError
io
cdm
calc
plots
ctables
gridding
GEMPAK Conversion Guide
Contributors Guide
Infrastructure Guide
Citing MetPy
References
MetPy
Docs
»
The MetPy API
»
units
»
check_units
Improve this page
check_units
¶
metpy.units.
check_units
(
*units_by_pos
,
**units_by_name
)
[source]
¶
Create a decorator to check units of function arguments.