Calendar Weather Feed for Aviation

Example of the calendar in action
Example of the calendar in action

This project originated from a simple need from a private pilot:  

"It would be great if my calendar could show me when over the next few days the weather will be suitable for flying"

This app provides an 'internet calendar' feed of hourly weather for the next two days to feed into Outlook, Google Calendar, and most mobile app calendars.

It's aimed at private pilots, and by setting parameters such as minimum visibility, maximum wind, etc, it will forecast whether conditions in a given hour are acceptable or not.

At it's most basic, simply as an internet calendar URL of:  https://labs.f17.co.uk/apps/weather-calendar/?lat={latitude}&lng={longitude}

(remembering to insert values of latitude and longitude)

This will show hourly forecasts for the next 2 days


You can tailor it further as follows:
https://labs.f17.co.uk/apps/weather-calendar/?lat={latitude}&lng={longitude}&maxwind=25&maxgust=25&maxcrosswind=10&maxcrosswindgust=15&minviz=20&mincloud=1000&runwayorientation=220&show={all|ok|notok}

By setting your maximum wind tolerance, visibility minima, and crosswind / crosswind gust it will work out if within limits. You can either see all weather, or only show when it is 'ok' by selecting the value of the 'show' parameter.

Parameters:

lat:  latitude (decimal)

lng:  longitude (decimal)

maxwind:  the maximum forecast wind in knots that you consider to be flyable

maxcrosswind: the maximum forecast crosswind in knots that you consider to be flyable

maxgust: the maximum forecast wind gust in knots that you consider to be flyable

maxcrosswindgust: the maximum forecast crosswind gust in knots that you consider to be flyable

runwayorientation: the runway orientation in degrees (used for calculating crosswind)

minviz: the minimum forecast visibility in km that you consider flyable
(cannot be greater than or equal to 10km, as the forecast reports 10km for 10km or more)

mincloud: the minimum forecast cloudbase in ft that you consider flyable

daytime:  true or false, only show if between sunrise and sunset

maxhour: the maximum time (24 hour clock hour) to show calendar for

minhour: the minimum time (24 hour clock hour) to show calendar for

show: controls when to show a calendar entry, use one of the following values:

  • all -  always show
  • ok - only show if it meets the flyable criteria above 
  • notok - only show if unflyable
  • marginal - only show if marginal
  • good - only show if it meets the flyable criteria and not marginal
  • 2col - always show, using green for flyable, red for not flyable
  • 3col - always show, using green for flyable, orange for marginal, red for not flyable

e.g. https://labs.f17.co.uk/apps/weather-calendar/?lat=53.9&lng=-1.08&maxwind=25&maxgust=25&maxcrosswind=10&maxcrosswindgust=15&minviz=8&mincloud=1000&runwayorientation=220&show=ok would add entries to the calendar whenever it is ok to fly from Leeds


NB: Coloured events are not widely supported in calendar clients. The alternative way to get colour coded entries is to create two calendars, one with show=ok (set calendar colour to green) and one with show=notok (set calendar colour to red)