The weather data
go back to Sonifying the weather forecast main page
The data used in this sonification has been obtained from the yr.no website. Classification of the weather data between numerical and textual values are important for consistency with the yr.no app and are described below.
Precipitation
Categories: «No precipitation», «chance of precipitation», «light rain», «rain» or «heavy rain». All values are minimum/maximum estimated rain, snow or sleet for one hour:
| yr category | values | tag |
|---|---|---|
| no precipitation | - | 0 |
| chance of precipitation | true/false | 1 |
| light rain | 0.1 - 0.5 mm/h | 2 |
| rain | 0.5 - 1 mm/h | 3 |
| heavy rain | > 1 mm/h | 4 |
Windspeed
What do «high winds» and «dangerous wind» mean? According to yr.no, in strong breeze using an umbrella becomes difficult. In near gale you see whole trees in motion and it is hard to walk against the wind. Wind speeds from gale and up are formulated as «dangerous wind» because of the risk of being hit by loosen objects outdoors and high waves at sea.
The text that sums up the weather in the app’s frontpage is based on the first six hours-periods in the forecast. Here are the limits for the different wind expressions. Wind speed unit (in meters per second)
| yr category | windspeed (m/s) | description | tag |
|---|---|---|---|
| light wind | 0 - 7.9 m/s | Light breeze | 0 |
| windy | 7.9 m/s — 10.8 m/s | Fresh breeze | 1 |
| high winds | 10.8 m/s — 17.2 m/s | Strong breeze to Near gale | 2 |
| dangerous wind | Over 17.2 m/s | Gale to Hurricane | 3 |
Wind direction
Wind direction is a very useful parameter to give a sense of immersion in the weather soundscape. Summary data downloaded from yr.no presents ‘wind from’ compass directions eg. North, NorthEast, South, South West etc. I convert these categories into float numbers as follows. (Weather API will gives more detailed numerical information as a bearing).
| yr category | tag | yr category | tag | |||
|---|---|---|---|---|---|---|
| north | 0 | south | +/- 1.0 | |||
| north east | 0.25 | north west | -0.25 | |||
| east | 0.5 | west | -0.5 | |||
| south east | 0.7 | south west | -0.7 |
These orientations (or the wind direction dial) are used to push the sound to appear to be coming from a one side or the other by controlling the pan offset of the sound source in max abstraction pan2S~. The scaling of the wind direction information is adjusted to give a sense of direction without being overwhelming.
Superimposed onto this pan offset i vary stereo pan to give a sense of movement. This panning variation is controlled by using a random number generator but importantly the fluctuation is a controlled pan rate of change. This adds a sense of the unpredictability of wind gestures such as gusts and generally has the effect of the wind swirling around. This varying stereo pan operates within a finite pan width which can be user controlled.
I specify the pan width for the different frequency components in the wind generator - selecting a much narrower pan width for the high frequency wind components and a broader pan width for the lower frequency components. This follows my real experience of listening to wind.
The mix of wind frequency components is controlled by Temperature data (or temperature slider) via a crossfade subpatch with low temperatures (around 0C) favouring the more high frequency whistling narrow channeled wind and warmer temperatures favouring panned across a broader width. I use crossfade to try to blend the wind elements in a natural and realistic way.
Temperature
Temperature data is mapped to wind frequency as explained above.
Cloud cover
Cloud cover has not been mapped to date but is potentially a very useful parameter to give an immersive experience. I anticipate mapping this to eg. a wet/ dry impulse response.
| yr category | tag | |
|---|---|---|
| clear sky | 0 | |
| fair | 1 | |
| partly cloudy | 2 | |
| cloudy | 3 | |
| fog | 4 |
Additional measurements available
- barometric pressure
- sun or moon height depending on date polar nights and midnight sun
- flood and avalanche warning levels
Future developments
All data required for the development of this work to a live sonification is potentially available from met.no (on appropriate acknowledgement). Links are below. Developer pages in fact actually encourage people to use the data in interesting ways. Documentation is provided on api Met api is based The MET Weather API is on the REST programming style. Queries are done via HTTP GET, results are returned as JSON, XML or binary format appropriate for the data (documented for each module).