wrf.decorators.convert_units¶
-
wrf.decorators.
convert_units
(unit_type, alg_unit)¶ A decorator that converts the units from the wrapped function’s output.
The desired units are determined from the wrapped function’s arguments.
Parameters: Returns: The wrapped function’s output in the desired units.
Return type: