WeatherOps
Connecting…
Pipeline status unavailable0.0 ev/s

How WeatherOps works

From real rainfall to a ranked list of deliveries to act on — live, every five seconds.

Step 1 of 7

Real rainfall

Open-Meteo archive · ERA5

Daily rain for 40 Indian cities from 2015 to 2025 and hourly rain for 2022–2025. It sets the climatology, drives history and is replayed hour by hour.

40 cities11 years daily4 years hourlyIMD rain classes
1,60,720daily readings
14,02,560hourly readings
Mumbai · average rain by month
Playing — hover to pause, click a step to jump.

How a risk score is built

0/ 100LOW
Rainfall severity
+21/30
Route history
+15/20
Route exposure
+2/15
SLA tightness
+12/12
Warehouse load
+1/10
Delivery timing
+4/8
On-time history
+0.4/5

Built with — follow the data

1Source
Open-Meteo

Real rainfall, 40 cities, 2015–2025.
Daily for history, hourly for replay.

pandas · NumPy

Builds monthly rain climatology.
Seeds 4.5 years of delivery history.

2Generate
Python event stream

Orders, trucks, hub arrivals, deliveries.
Delays come from the real rain.

3Transport
Apache Kafka

Every event lands on a topic first.
A restart replays instead of losing data.

4Process
Spark Streaming

Checks, quarantines, de-duplicates.
30-second windows for every city.

5Decide
Risk engine

Weather → ETA, 7-part risk score.
SLA odds and alerts every 5 seconds.

6Store
PostgreSQL

Live orders, risk, history since 2021.
Monthly roll-ups keep History instant.

Redis

Live views rewritten every tick.
Pub/sub pushes them to browsers.

Amazon S3

Every raw event, one folder a day.
Kept even when the server is off.

7Serve
FastAPI

REST for drill-downs, search, scenarios.
WebSocket for every live tick.

8Show
Next.js · React

Five desktop pages, cached and animated.
Charts are hand-built SVG.

MapLibre

India impact and rainfall map.
India-view borders, no map tiles.

Vercel

Serves the dashboard worldwide.
Shows a saved snapshot if offline.

↑Everything above runs on
AWS EC2

One server runs the whole pipeline.

k3s

Kubernetes keeps every service up.

Terraform

Server, IP and bucket as code.

Traefik

HTTPS entry for the API.

Let's Encrypt

Free, auto-renewed certificate.

Please open WeatherOps on a desktop or laptop

This app is built for large screens and isn’t available on phones or tablets.