/victoria-weather

☁️ Beautiful weather app for Victoria, BC

Primary LanguageTypeScript

weather_logo500

Welcome! 👋 Victoria weather is a small web application that gives you a quick summary of the current weather conditions in the Victoria, BC! The goal of this project was to build a modern, pleasing web interface for open source data provided by the school-based weather station network.

Features

  • 🗺 Fully interactive map of Victoria with temperature visualization and point information powered by Mapbox

  • 💧 Average rain stats from across Victoria

  • 🌡 Temperature averages aswell as max/min locations

  • 🌗 Sunrise/Sunset time indicator

  • ☁️ 3 day weather forcast

  • ☀️ UV index information

  • 💨 AQI information and warnings

How it works

Every minute, a server script is pulling the weather data and computing the temperature map layer using kriging interpolation. We are then computing the isobands (the bands of similar temperature) using the marching squares algorithm. These temperature bands, along with a plethora of other useful data is then stored in a MongoDB document database for quicker access when loading the page.