This is Windy, a visualization of Wind conditions and air pressure over the Nordic and Baltic areas, using open data from SMHI.
It is inspired from:
The implementation have a server side daemon, windy.py
, that collects new data from SMHI every hour. Results are
stored into two json files: msl.json
(air pressure) and wind.json
. For implementation, see blog entry
here
The visualization is on the client side, using Leaflet and its plugin leaflet-velocity.
The result can be seen here
As an added bonus, bil.py
implements bilinear interpolation of a square surface and display the results.
The implementation is following the Wikipedia article.
Why this?
When studying the background for displaying wind directions and velocities as a vector field, references to bilinear interpolation were made, and I got curious. Hence, I wanted to make a simple experiment and added this to the repository. It got stuck there.