- Notifications
You must be signed in to change notification settings - Fork0
A website designed to help climbers find some dry rock to climb on.
License
Rory-Sullivan/Dry-Rock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Dry Rock is a website designed to help climbers in Ireland find some dry rock toclimb on. Check it out atdryrock.ie.
The forecast data is sourced from theNorwegian MeteorologicalInstitute.
As a rock climber I am perpetually thinking about my next weekend trip andtrying to decide where looks like the driest place to go. This leads to a lot oftime spent checking forecasts for the various climbing areas in Ireland. Asevery programmer knows when a task gets boring and repetitive, you automate it!So that's what I did.
The site runs a python script at regular intervals. The script retrievesforecast data from MET Norway's weather API, collates it and renders it into asingle page. This leaves me with a single web page to check before decidingwhere to go at the weekend.
While I have not designed this project to be used by others you are more thanwelcome to, however please see thelicensing notes below.
The gist of how to set up the project is as follows;
- Fork this repository
- Update the 'setup.cfg' file, particularly the 'user_agent' section under the'metno-locationforecast' header
- Update the '/data/input/areas.json/' file with the places that are of interestto you
- SetupGitHub Pages for your repository
Hey presto! Your site should be live and will update ever hour using GitHubworkflows.
Also of interest, if you would like to build a similar type of site, is themetno-locationforecastlibrary. It makes it super easy for a python application to retrieve data fromthe MET Norway API.
While this code is covered by an MIT licence and is free to use, the datacollected from MET Norway is subject to it's own terms of service. In particularthey require that any app requesting information from their API identifiesitself correctly and so simply copying this site and requesting data as if youare this site is a violation of their terms of use. Check MET Norway's websitefor further details.
About
A website designed to help climbers find some dry rock to climb on.