Skip to content

Checks the icelandic weather forecast for kite-able spots.

Notifications You must be signed in to change notification settings

sigurdurb/KiteUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KiteUp

Jupyter Notebook that queries Icelandic weather stations for kite–able locations.

This is now set up as an email alert service but contributions for advancements are welcome.

Setup

  • python3
  • pip install -r requirements.txt

See here how to setup and start a Jupyter notebook

Contributing

Anyone can make a pull request.

If you want to make something into modules that would also be cool.

A basic app with notifications would also be a cool contribution.

Before adding also generate a .py file from the notebook

jupyter nbconvert --to python KiteUp.ipynb

Then you can also run it as a normal python script:

python3 KiteUp.py

About:API

The KiteUp program queries the /weather/forecasts endpoint of apis.is, that code queries various endpoints of vedur.is

Apis.is API documentation endpoint: apis.is, github

Time is UTC/GMT.

vedur.is /forecasts timing

The forecasts that are queried are generally given out at 06:00, 12:00 and 18:00

vedur.is /forecasts publishing

According to support(at)vedur.is the forecast are generally published approx 3 and a half hours after they are made.

So a forecast that is made at 12:00 will not be published to the web/API until 15:30 (+- 5 minutes).

KiteUp follows this publishing plan of vedur.is:

  • Forecast made at 06:00 is published at 09:30
  • Forecast made at 18:00 is published in at 21:30
  • Forecast made at 12:00 is published at 15:30

KiteUp will query about 10 minutes later then the publishing time, given the +-5 minutes delay that can happen.

According to support forecast updates are written into their database at the same time across all stations when all calculations are finished.

About: Weather directions

  • N: Norðan - um vind úr norðurátt.

  • NA: Norðaustan - um vind úr norðausturátt.

  • NNA: Norðnorðaustan- um vind úr norðnorðausturátt (mitt á milli norðan og norðaustan).

  • NNV: Norðnorðvestan - um vind úr norðnorðvesturátt (mitt á milli norðan og norðvestan).

  • NV: Norðvestan - um vind úr norðvesturátt.

  • S: Sunnan - um vind úr suðurátt.

  • SSA: Suðsuðaustan - um vind úr suðsuðausturátt (mitt á milli sunnan og suðaustan).

  • SSV: Suðsuðvestan - um vind úr suðsuðvesturátt (mitt á milli sunnan og suðvestan).

  • SV: Suðvestan - um vind úr suðvesturátt.

  • SA: Suðaustan - um vind úr suðausturátt.

  • V: Vestan - um vind úr vesturátt.

  • VNV: Vestnorðvestur - um vind úr vestnorðvesturátt (mitt á milli vestan og norðvestan).

  • VSV: Vestsuðvestan - um vind úr vestsuðvesturátt (mitt á milli vestan og suðvestan).

  • A: Austan - um vind úr austurátt.

  • ANA: Austnorðaustan - um vindátt sem er mitt á milli austan og norðaustan.

  • ASA: Austsuðaustan - um vindátt sem er mitt á milli austan og suðaustan.

Heimild: http://www.vedur.is/vedur/frodleikur/greinar/nr/936

Tides

KiteUp reads from the html tables served at /vs/Stationsdetails.aspx of www.vegagerdin.is

For example: http://www.vegagerdin.is/vs/Stationsdetails.aspx?ID=25&Per=24&Dt=201810060000&nohead=true

They give out sea level height in meters.

About

Checks the icelandic weather forecast for kite-able spots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published