# Wolfram Function Repository

Instant-use add-on functions for the Wolfram Language

Function Repository Resource:

Calculate the effect of the wind on the temperature that humans perceive

Contributed by:
Claudio Lobo Chaib Filho

ResourceFunction["WindChill"][] gives the wind chill for the user's location. | |

ResourceFunction["WindChill"][ gives the wind chill for a specific location | |

ResourceFunction["WindChill"][{ gives the wind chill for a given temperature | |

ResourceFunction["WindChill"][…, gives the result in the desired output form |

Wind chill is the temperature perceived by humans, taking into account air temperature and wind speed. The function works with temperature values between -70 °C and 10 °C and values between 4.282 km/h and 400 km/h for wind speed.

The *loc* argument is a location in the form of an Entity, a GeoPosition or Here. This information comes from the nearest weather station to that location and the value may vary over time. A list of air temperature and wind speed information can be used in place of a location.

The *form* argument can be a temperature, a plot or an association giving both temperature and plot:

"Temperature" | the perceived temperature due to wind chill |

"Plot" | a plot of the perceived temperature versus wind speed at the given air temperature |

"PropertyAssociation" | all results as an Association |

The default value of the *form* argument when not given is "Temperature".

If the temperature unit is not specified for the *t* argument, the input is considered degrees Celsius. Examples of degree units for temperature accepted by the function are:

Quantity[-20,"DegreesCelsius"] | degrees Celsius |

Quantity[-90,"DegreesFahrenheit"] | degrees Fahrenheit |

Quantity[420,"DegreesRankine"] | degrees Rankine |

Quantity[215,"Kelvins"] | Kelvins |

-20 | degrees Celsius |

If the wind speed unit is not specified for the *ws* argument, it is considered kilometers per hour. Examples of input allowed for wind speed and how it is interpreted are:

Quantity[30, "Kilometers"/"Hours"] | kilometers per hour |

Quantity[20, “Miles"/"Hours”] | miles per hour |

15 | kilometers per hour |

ResourceFunction["WindChill"] accepts the option "ResultUnit" to specify the unit of the result. The accepted values are "DegreesFahrenheit", "DegreesCelsius", "DegreesRankine" and "Kelvins". By default, the unit is inherited from the inputs. If no unit is provided, "DegreesCelsius" is used.

Using WindChill without arguments uses Here as the location:

In[1]:= |

Out[1]= |

Find the wind chill at a given location:

In[2]:= |

Out[2]= |

This is equivalent to using "Temperature" as a second argument:

In[3]:= |

Out[3]= |

Use WindChill with a temperature and wind speed:

In[4]:= |

Out[4]= |

The air temperature can be given in degrees Fahrenheit. Note that the result has the same temperature units:

In[5]:= |

Out[5]= |

If the temperature is not explicitly given a unit, it is interpreted as degrees Celsius:

In[6]:= |

Out[6]= |

If the wind speed is not explicitly given a unit, it is interpreted as kilometers per hour:

In[7]:= |

Out[7]= |

Return a plot:

In[8]:= |

Out[8]= |

Get an Association of results:

In[9]:= |

Out[9]= |

The function can accept a GeoPosition instead of an Entity:

In[10]:= |

Out[10]= |

The "ResultUnit" option specifies the temperature unit for the result:

In[11]:= |

Out[11]= |

By default, WindChill uses either the input units or degrees Celsius if the input is a location:

In[12]:= |

Out[12]= |

In[13]:= |

Out[13]= |

Note that the "Plot" output is also changed in the plot when the option "ResultUnit" option is given:

In[14]:= |

Out[14]= |

Many times, the temperature of a specific location is outside the possible range for wind chill calculation. In these cases, the temperature of the result is provided directly by the weather station as wind chill; TildeTilde appears in the answer and a message is issued saying that the value is not accurate:

In[15]:= |

Out[15]= |

Sometimes the nearest weather station to a specific location does not have air temperature, wind speed or wind chill data:

In[16]:= |

Even if the unit of the input wind speed is different from kilometers per hour, the *x*-axis in the plot remains in kilometers per hour:

In[17]:= |

Out[17]= |

The function only accepts temperature values between -70 °C and 10 °C and wind speed between 4.828 km/h and 400 km/h, so when a specific weather station provides temperature and wind speed values outside these limits, the function automatically acquires the value of the wind chill directly from the weather station itself:

In[18]:= |

Out[18]= |

In[19]:= |

Out[19]= |

In[20]:= |

Out[20]= |

- Wind Chill–Wolfram Alpha
- Calculating Windchill Values–National Center for Atmospheric Research (NCAR) Atmospheric Technology Division (ATD)
- Wind Chill Calculator–EasyUnitConverter.com

- 1.0.0 – 22 September 2020

This work is licensed under a Creative Commons Attribution 4.0 International License