msw is a tool that uses the Magicseaweed forecast api to create a web based interactive geographic visulisation of the current surf forecast. The website can be found here.
The visulisation includes a bubble for every surf spot listed in surf_spots.csv. The size of the bubble is determined by the actual wave height and the bubble's color intensity determined by the number of solid stars as provided by Magicseaweed. Each bubble can be clicked to show more information about the surf spot and it's respective foreacst. The idea being to show clearly in one view where the best location to surf at a given moment in time is.
msw is powered by Magicseaweed's forecast api, more information can be found here.
msw is very much a work in progress. There are a number of things to be added to the tool:
- All surf spots need to be added to surf_spots.csv
- A key is to be added to the map
- An arrow indicating local wind direction is to be added to the map for each surf spot.
- Ideally tidal information would be included in the map too.
- Time dimesion to be added to the map so users can see how the forecast develops over the coming days.
Running spotCheck.py will create index.html.
In order to run this code you will need to have the following packages:
In case you encounter bugs please submit a new issue on github. Please list the reported error and data used that will help us reconstruct it. This will help us reproduce and resolve the bug.