apparent_temperature¶
-
metpy.calc.
apparent_temperature
(temperature, rh, speed, face_level_winds=False, mask_undefined=True)[source]¶ Calculate the current apparent temperature.
Calculates the current apparent temperature based on the wind chill or heat index as appropriate for the current conditions. Follows [NWS10201].
- Parameters
temperature (pint.Quantity) – The air temperature
rh (pint.Quantity) – The relative humidity expressed as a unitless ratio in the range [0, 1]. Can also pass a percentage if proper units are attached.
speed (pint.Quantity) – The wind speed at 10m. If instead the winds are at face level, face_level_winds should be set to True and the 1.5 multiplicative correction will be applied automatically.
face_level_winds (bool, optional) – A flag indicating whether the wind speeds were measured at facial level instead of 10m, thus requiring a correction. Defaults to False.
mask_undefined (bool, optional) – A flag indicating whether a masked array should be returned with values where wind chill or heat_index is undefined masked. For wind chill, these are values where the temperature > 50F or wind speed <= 3 miles per hour. For heat index, these are values where the temperature < 80F. Defaults to True.
- Returns
pint.Quantity – The corresponding apparent temperature value(s)
See also